mirror of
https://github.com/denisidoro/navi
synced 2024-11-25 04:50:21 +00:00
Merge pull request #129 from enisozgen/Create-cheats-yum
Create cheats yum
This commit is contained in:
commit
9de870ab02
1 changed files with 52 additions and 0 deletions
52
cheats/yum.cheat
Normal file
52
cheats/yum.cheat
Normal 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
|
Loading…
Reference in a new issue