Merge pull request #129 from enisozgen/Create-cheats-yum

Create cheats yum
This commit is contained in:
Denis Isidoro 2019-10-15 07:39:28 -03:00 committed by GitHub
commit 9de870ab02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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