Create cheats yum

This commit is contained in:
Enis OEZGEN 2019-10-15 11:00:08 +02:00
parent 76e216b24a
commit 50b84ef803

52
cheats/yum.cheat Normal file
View file

@ -0,0 +1,52 @@
% yum
# List all available packages
yum list available
# List all installed packages
yum list installed
# Info about package
yum info <package-name>
# Search in repository (packages and descriptions)
yum search <query>
# List all history actions (install, update and erase)
yum history list
# Check updates for installed packages
yum check-update
# Update all packages
yum update
# Update spesific/individual package
yum update <package-name>
# Downgrade package
yum downgrade <package-name>
# Install a package from repository
yum install <package-name>
# Remove/delete package
yum remove <package-name>
# Install local rpm package
yum localinstall <filepath-rpm>
# Install security updates
yum update --security
# List dependencies of package
yum deplist <package-name>
# Remove un-needed packages and dependencies
yum autoremove
# Whatprovides package/file/binary
yum whatprovides <query>
# List currently enabled repositories
yum repolist