- RPM
- max rpm
Basic operations
- -i
- Install package
- Common usage:
- rpm -ivh package_name.rpm
- Installs package_name
- i install
- v verbose
- h progress bar
- -U
- Update package
- Common usage:
- rpm -U package_name.rpm
- Updates package_name
- rpm -U --force package_name.rpm
- Forces update of package_name
- -e
- Uninstall/Erase
- Common usage:
- rpm -e package_name
- Unistalls package_name
- rpm --nodeps -e package_name
- Uninstalls package_name ignoring errors
- --nodeps ignore dependancies
- -q
- Query package info
- Common Usage:
- rpm -q package_name
- Prints package version
- rpm -qi package_name
- Prints information about package_name
- rpm -qip package_name.rpm
- Prints information about the package_name.rpm
- rpm -qf file
- Prints package containing file
- rpm -ql package_name
- Prints a long listing, including all files in package
- rpm -qa
- Prints a list of all packages
- -V
- Verify installed packages
- SM5DLUGT c <file> is output for mismatching files, where:
- S indicates the file size has changed
- M indicates the file's mode has changed
- 5 indicates the MD5 checksum of the file doesn't match
- D indicates the file's major and minor numbers have changed
- L indicates the file's symbolic link contents have changed
- U indicates the owner of the file has changed
- G indicates the file's group has changed
- T indicates the modification time of the file has changed
- c appears if the file is a configuration file. (and hence
likely to have changed)
- the file that failed verification.
If an attribute is ok then "." is printed.
If the file is missing, then "missing" is printed
- Common Usage:
- rpm -V package_name
- Validates the files in the package
- rpm -Va
- Validates the files in all packages