This Blog is intended to collect information of my various Intrests,pen my opinion on the information gathered and not intended to educate any one of the information posted,but are most welcome to share there view on them
Saturday, August 14, 2010
RPM Package Management – Quick How To
How to install packages with all the dependency packages if all the packages are available at a common repository?
Ans : rpm –ivh –aid packagename.
How to check, where a particular package installed it’s configuration files.
Ans : rpm –qc packagename.
How to check the change log of the installed package.
Ans : rpm -q –changelog packagename.
How to check, where a particular package installed it’s doc files.
Ans : rpm -qd packagenme
How to check all the files installed by package?
Ans : rpm -q –filesbypkg packagename
How to check the version of files installed by a package
Ans : rpm -qi packagename
How to check the dependencies for a particular packages i.e. Required libraries packages etc.
Ans : rpm -q -R packagename.
How to upgrade the packages which are already installed on to the linux box.
Ans : rpm -F install options packagename.
What is the command to update only the rpm database.
Ans : rpm -i –justdb packagename
What is the command to check whether a particular package installation would be successful but would not actually install the package.
Ans : rpm -ivh –test packagename
How to check that a particular file belong to which package
Ans : rpm -qf filename
How to list files in a package
Ans : rpm -ql packagename
How to verify whether the files installed by package are intact or been tampered/corrupted.