Saturday, March 20, 2010

Querying RPMs

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi


Querying, Installing and upgrading RPMs


Before we install or upgrade any RPM, we should know whether the desired package is already installed on our system or not. The RPM query gives us the detailed information about the package.


Query


This mode of RPM has many utilities. In simplest form this can be used to find the version of the installed package. The syntax for a simple query is as follows:


rpm -q packagename


Example:

# rpm -q xmms


Xmms-2.6.26-2


No comments:

Post a Comment