LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2002, 09:06 AM   #1
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Rep: Reputation: 15
getting a single file out of an rpm


Hi,

Using Kpackage I see that there are README and INSTALL files in an rpm that I'm interested in looking at before I install an rpm.

Is there a way to just get those files out of the package and not install anything else?

Thanks
 
Old 11-13-2002, 09:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
you can use good old mc to enter rpms as if they were a directory, and then you can nosey around as you want. there are other methods like rpm2cpio, but that's not really what you are after.
 
Old 11-13-2002, 09:28 AM   #3
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by acid_kewpie
you can use good old mc to enter rpms as if they were a directory, and then you can nosey around as you want. there are other methods like rpm2cpio, but that's not really what you are after.
Wow, that was cool. It was my first time in MC. After a few minutes I figured out how to do a quick view on the file I was interested in and I was even able to "extract" it by copying it to my Desktop.

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve only a single line from a file rose_bud4201 Programming 4 06-22-2005 07:26 PM
Querry buffette (chose one) knoppix into an iso,rpmīs single packs, kdm greeter carrie Linux - Newbie 0 10-24-2004 03:49 AM
help... get single word from file night-blade1 Programming 3 10-12-2004 09:58 AM
howto extract only single file from rpm demmylls Linux - Software 1 03-14-2004 05:51 AM
Preventing single file from deletion Eisenbart Linux - Newbie 5 05-01-2002 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration