LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 10: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, 10: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 10:59 PM.
 
Old 04-29-2003, 11:22 PM   #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-29-2003, 11:56 PM   #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 12:03 AM.
 
Old 04-30-2003, 12: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, 12: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, 12: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 12:46 AM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 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
Open Source Consulting | Domain Registration