Tuesday, November 16, 2010

RPM Package installing Guide in Linux


rpm -ihv name.rpm :- Install the rpm package called name
rpm -Uhv name.rpm :- Upgrade the rpm package called name
rpm -e package :- Delete the rpm package called package
rpm -l package :- List the files in the package called package
rpm -ql package :- List the files and state the installed version of the package called package
rpm -i --force package :- Reinstall the rpm package called name having deleted parts of it (not deleting using rpm -e)
tar -zxvf archive.tar.gz or, tar -zxvf archive.tgz :- Decompress the files contained in the zipped and tarred archive called archive
./configure :- Execute the script preparing the installed files for compiling

No comments:

Post a Comment