The first example...


The first example (-qa) searches for the xmms package and reports the current version of the package that is installed. In the second, -ql lists all files in the xmms package and then pipes that output to the less command to page through it. And finally, -qi displays a description and other information about the xmms package.


Verifying installed packages - Use rpm to verify the contents of an RPM package. The -V option enables you to check whether any of the files in a package have been tampered with. Here is an example:
# rpm -V aaa_base
..5....T c /etc/inittab
S.5....T /etc/profile.d/alias.ash


-V checks whether any of the contents of the aaa_base package (which contains some basic system configuration files) have been modified. The output shows that the inittab and alias.ash files have been modified from the originals. The 5 indicates that the md5sum of the files differ, while the T indicates that the timestamp on the file differs. On the alias.ash file, the S shows that the size of the file is different.


The rpm command has many other options as well. To find out more about them, type man rpm or rpm --help from any shell.


Automated Software Updates


As of version 7.1, SUSE Linux includes an automatic update agent. The YaST Online Update (YOU) utility is built right into the YaST facility and offers an easy way to get updates, security patches, and bug fixes for SUSE or openSUSE by downloading and installing them from software repositories over the network. You can also execute YOU from the command line, using the kdesu you command.