Create account Login Webmail Contact Us



 
Knowledgebase
How to extract just one file.
Posted by admin on 11 September 2009 11:09 PM
If you need to extract just one file from an rpm without reinstalling the whole package, you can do this with rpm2cpio. For example, to extract just the config file from the logrotate rpm you would use the following statement:

# rpm2cpio logrotate-1.0-1.i386.rpm |cpio -ivd etc/logrotate.conf
(372 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: