Tuesday, June 15, 2010

RPM Command Cross Reference

0
  • rpm -Uvh fortune-mod-1.0-13.rpm - option -U used to upgrade the fortune-mod package to newer version and remove all other versions of fortune-mod from system. Option -v and -h are used to provide verbose output with installation progress status using hash key.

  • rpm -ivh fortune-mod-1.0-13.rpm - option -i used to install the fortune-mod package.

  • rpm -Fvh fortune-mod-1.0-13.rpm - option -F used to upgrade the fortune-mod package only if the an earlier version has installed.

  • rpm -qa --last - option -qa used to query the RPM database for a list of all packages installed in the system, and option --last to sort listing by date of installation.

  • rpm -qi fortune-mod-1.0-13 - option -qi used to query the RPM database to verify is the fortune-mod-1.0-13 package installed in the system, coupled with detail information of the package if it is installed.

  • rpm -ql fortune-mod-1.0-13 - option -ql used to query the RPM database for a list of all files installed to the system by the fortune-mod-1.0-13 package. This form of RPM command is useful, for example, to check is there any sample files installed to comprehend the help contents in the man page.

  • rpm -qf /usr/games/fortune - option -qf used to query RPM database for the RPM package that install the /usr/games/fortune file.

  • rpm -qR fortune-mod-1.0-13 - option -qR used to query RPM database for a list of dependencies of fortune-mod-1.0-13 package.

  • rpm -e fortune-mod-1.0-13 - option -e used to remove or uninstall the fortune-mod-1.0-13 package.

No Response to "RPM Command Cross Reference"

Post a Comment

Note: Only a member of this blog may post a comment.