 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

3rd November 2004, 02:05 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 95

|
|
|
Extracting specific files from an rpm
Im trying to get the printer drivers from a mandrake rpm file, Im running Fedora but I think the rpm has the files I need, how do I extract and veiw the contents of an rpm before I install or extract certain files from it?
|

3rd November 2004, 03:00 AM
|
 |
Registered User
|
|
Join Date: May 2004
Posts: 503

|
|
|
You can use the rpm command with the -qp options. For example:
rpm -qp printer_driver.rpm
This will display the files contained in the rpm package.
|

3rd November 2004, 03:20 AM
|
 |
Retired Community Manager
|
|
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423

|
|
|
Even if you manage to extract them, there's a very, very, very high likelyhood that they won't work because of library dependencies, etc.
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
|

3rd November 2004, 05:02 AM
|
 |
Registered User
|
|
Join Date: Feb 2004
Age: 44
Posts: 8,256

|
|
|
You be surprise the some mandrake rpm's do work under rh8-9....as I recalled some did work for me but now in FC2 it may also be a different story.
|

3rd November 2004, 05:30 AM
|
 |
Registered User
|
|
Join Date: Aug 2004
Location: Beijing, CHINA
Age: 36
Posts: 75

|
|
if you wanna extract rpm-package-file, you can try:
rpm2cpio rpmfile > rpmcpiofile
cpio -id < rpmcpiofile
then the rpm-package-file would be extracted on current directory.
__________________
IBM ThinkPad T41 1hh PM1.4 40G 5400rpm 1G DDR333 + FC2 + UltrabaySlim 2nd HD
MSN: jiawj@hotmail.com
my english is a little poor, I'm so sorry. :)
|

4th November 2004, 12:06 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909

|
|
The Midnight Commander terminal file manager used to be able to extract certain files from RPMS, but now it just seems to view the file list or install it.
It's a good file manger though. if you want to try it.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 17:08 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|