Operating System - Linux
1819794 Members
3431 Online
109607 Solutions
New Discussion юеВ

extract single file from rpm

 
SOLVED
Go to solution
Tim Malnati
Honored Contributor

extract single file from rpm

Is there a way of extracting a single file from an rpm fileset? A verification shows some files missing and I want to recover them, but uninstall/reinstall or install overwrite would be very dangerous in some of these cases (eg: Lilo).
2 REPLIES 2
Frederic Soriano
Honored Contributor
Solution

Re: extract single file from rpm

Hello Tim !

Have a look at the script rpm-get attached to this post.

rpm-get is part of a package called rpm-utils. Maybe you have already installed it (check it by issuing rpm -qa|grep rpm-utils).

You can also retrieve the latest version at this URL :
http://www.kaybee.org/~kirk/html/linux.html

I hope this helps !

Regards.
Tim Malnati
Honored Contributor

Re: extract single file from rpm

Thanks Frederic! Seems that this package will do what I want and more. Also, the check-packages fileset is another very nice script rpm from this site.