cheat/cheat/cheatsheets/rpm

15 lines
253 B
Plaintext

# To install a package:
rpm -ivh <rpm>
# To remove a package:
rpm -e <package>
# To find what package installs a file:
rpm -qf </path/to/file>
# To find what files are installed by a package:
rpm -qpl <rpm>
# To list all installed packages:
rpm -qa