Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd November 2004, 02:05 AM
BiOPSY Offline
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?
Reply With Quote
  #2  
Old 3rd November 2004, 03:00 AM
RedFedora's Avatar
RedFedora Offline
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.
Reply With Quote
  #3  
Old 3rd November 2004, 03:20 AM
crackers's Avatar
crackers Offline
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:
Reply With Quote
  #4  
Old 3rd November 2004, 05:02 AM
imdeemvp's Avatar
imdeemvp Offline
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.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #5  
Old 3rd November 2004, 05:30 AM
jiawj's Avatar
jiawj Offline
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. :)
Reply With Quote
  #6  
Old 4th November 2004, 12:06 AM
Jman Offline
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.
Code:
yum install mc
if you want to try it.
Reply With Quote
Reply

Tags
extracting, files, rpm, specific

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What to do after extracting .tar.bz2 files Oakems Using Fedora 19 4th December 2008 06:52 PM
Extracting Files to a CD rayber Using Fedora 3 21st October 2008 02:25 AM
extracting rar files mrpervie Using Fedora 15 27th December 2006 02:26 AM
Extracting MySQL Files Magic Speller Using Fedora 4 30th April 2004 08:09 AM


Current GMT-time: 17:08 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat