Querying and Verifiying software packages


Querying and Verifying software packages :
—————————————-
RPM Command lets you query and verifying package contents.

1) Print a description
2) List Contained files
3) Print Scripts excuted
4) Verify the integrity

Print a Description :
——————-
To print a description of an installed package.

Syn :

rpm -qi package_name

Syn :

rpm -qip package_file_name

Cmd :

rpm -qi gnorpm

Listing Contained Files :
———————–
To list the files contained in an installed package.

Syn :

rpm -ql package_name

Cmd :

rpm -ql gnorpm

Printing Scripts :
—————-
To print the pre-installation and post-installation scripts associated with a package.

Syn :

rpm -qp –scripts package_name

Cmd :

rpm -qp –scripts at-3.1.7-11.i386.rpm

Verifying Package Content :
————————-
RPM maintains a record on each file contained in an installed package.

Syn :

rpm -V package_name

Cmd :

rpm -V gnorpm

Gnorpm :
——
Many desktop linux users prefer a graphical user interface ta a command line user interface.

1) Install Package
2) Upgrade Package
3) Query Package
4) Verify Package
5) Unistall Package

Gnorpm includes an interface to the rpm find command.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s