LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to extract rpm packages? (https://www.linuxquestions.org/questions/linux-software-2/how-to-extract-rpm-packages-57404/)

silver810212 04-29-2003 10:45 PM

how to extract rpm packages?
 
who can tell me how to extract rpm packages? thanks first!

tied2 04-29-2003 10:57 PM

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

nakkaya 04-29-2003 11:22 PM

rpm -i package name to install it
rpm -e package name to delete it

silver810212 04-29-2003 11:56 PM

i want to see the files which the rpm packages contains ,such as spec file.

praveen_2003 04-30-2003 12:35 AM

#rpm -i packagename.rpm (to install package)
#rpm -e packagename.rpm (to install package)

Ice9 04-30-2003 12:43 AM

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.

silver810212 04-30-2003 12:43 AM

i am bluiding some rpm packages,so i want to see the *.spec of some rpm packages.not install or uninstall packages.


All times are GMT -5. The time now is 09:32 PM.