LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-29-2003, 11:45 PM   #1
silver810212
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Rep: Reputation: 0
how to extract rpm packages?


who can tell me how to extract rpm packages? thanks first!
 
Old 04-29-2003, 11:57 PM   #2
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Rep: Reputation: 30
What exactly do you mean extract? do you mean install? or remove from your system? or view files contained in the RPM file?

Last edited by tied2; 04-29-2003 at 11:59 PM.
 
Old 04-30-2003, 12:22 AM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
rpm -i package name to install it
rpm -e package name to delete it
 
Old 04-30-2003, 12:56 AM   #4
silver810212
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Original Poster
Rep: Reputation: 0
i want to see the files which the rpm packages contains ,such as spec file.

Last edited by silver810212; 04-30-2003 at 01:03 AM.
 
Old 04-30-2003, 01:35 AM   #5
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
#rpm -i packagename.rpm (to install package)
#rpm -e packagename.rpm (to install package)
 
Old 04-30-2003, 01:43 AM   #6
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
You can check the content of an rpm package with:
# rpm -qil nameofrpm.rpm
for an rpm package which is already installed
and
# rpm -qilp nameofrpm.rpm
for an rpm package which is not already installed on your system

But I don't know how you would "unpack" it without actually installing it.
 
Old 04-30-2003, 01:43 AM   #7
silver810212
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Original Poster
Rep: Reputation: 0
i am bluiding some rpm packages,so i want to see the *.spec of some rpm packages.not install or uninstall packages.

Last edited by silver810212; 04-30-2003 at 01:46 AM.
 
  


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
How to run command-line? How to extract RPM? How to install SAMBA? azmadar Linux - Newbie 7 09-09-2004 06:18 AM
RPM: How do you extract just one file from the package? Thetargos Fedora 4 07-17-2004 04:03 AM
howto extract only single file from rpm demmylls Linux - Software 1 03-14-2004 05:51 AM
How to extract files from an rpm package mayankjohri Linux - Networking 3 06-12-2002 01:33 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 07:03 PM


All times are GMT -5. The time now is 08:27 AM.

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