Monday, March 22, 2010

Querying RPM: contd...



Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

Along with -q option we also can use package selection options too, which as follows:


· -a To query all the installed packages

· -i To display package information including size, name, build, date, release,

vendor, installed date and other information

· -f filename To query the package which owns file filename

· -l To display list of files which the package contains

· -d To display list of files marked as documentation

· -p package To query the package package


Following is the example of information query. It helps us get the summary information associated with setup RPM:




If we are not sure about the package, we can list the files in it by using rpm -ql package command, which is as follows:


No comments:

Post a Comment