Cheatography
https://cheatography.com
Overview/etc/yum.conf YUM configuration file | /etc/yum/repos.d/ YUM drop in directory |
Listyum list all list all installed and available packages | yum list glob_expression list installed and available packages matching glob_expression | yum list installed glob_expression list installed packages matching glob_expression | yum list available glob_expression list available packages matching glob_expression |
Downloadyum install yum-utils install yumdownloader | yumdownloader package download package | yum install yum-plugin-downloadonly install downloadonly plugin | yum install --downloadonly --downloaddir=directory package download package |
Groupyum groups summary show installed and available groups | yum group list glob_expression show package group matching glob_expression | yum group info glob_expression show mandatory and optional packages in group | yum group list ids show package groups and IDs | yum group install group_name install package group | yum group install groupid install package group with groupid | yum install @group install package group | yum group remove group_name uninstall package group | yum group remove groupid uninstall package group with groupid |
Searchyum search term search for term in package name and summary |
Updateyum check-update check for update | yum update package_name update a single package | yum update update all packages and their dependencies | yum update --security update security-related packages | yum update-minimal --security update packages containing the latest security |
| | Infoyum info package_name display info about package | yumdb info package_name display info about package | yum info glob_expression display info about package matching glob_expression | yum provides glob_expression display package that provides glob_expression |
Installyum install package_name install package and dependencies | yum install package_name package_name install multiple packages and dependencies | yum install package_name.arch install package with specific architecture | yum install glob_expression install packages matching glob_expression | yum install /path/to/file install package which provides /path/to/file | yum install -n name install exact name package | yum install -na name.architecture install exact name.architecutre package | yum install -nevra name-epoch:version-release.architecture install exact name-epoch:version-release.architecture package | yum localinstall path install local package |
Repositoryyum-config-manager show current values of global yum options | yum-config-manager section show content of different configuration option | yum-config-manager glob_expression show configuration matching glob_expression | yum-config-manager --add-repo repo_url add a repository | yum-config-manager --enable repository enable a repository | yum-config-manager --enable glob_expression enable repositories matching glob_expression | yum-config-manager --disable repository disable a repository | yum-config-manager --disable glob_expression disable repositories matching glob_expression | yum repolist all list enabled and disabled repositories | yum repoinfo list repositories | yum repolist -v list repositories | yum repolist list repositories |
| | Uninstallyum remove package_name uninstall package |
Historyyum history list show twenty most recent transactions | yum history list all show all transactions | yum history list start_id..end_id show transactions in a given range | yum history list glob_expression show transactions for a package | yum history sync synchronize rpmdb or yumdb database | yum history stats show overall statistics | yum history summary show summary of past transactions | yum history summary start_id..end_id show summary in a given range | yum history summary glob_expression show summary matching glob_expression | yum history package-list glob_expression show transactions from perspective of package | yum history summary id show summary of single transaction | yum history summary info id show info of single transaction | yum history info start_id..end_id show info in a given range | yum history addon-info id show additional info for a transaction | yum history addon-info last show additional info for last transaction | yum history addon-info id information show selected type of information | yum history undo id revert a transaction | yum history redo id redo a transaction | yum -q history addon-info id saved_tx > file_name store transaction detail to file | yum load-transaction file_name repeat transaction from file_name | yum history new start new transaction history |
Cleanyum clean all clean orphaned packages | yum autoremove uninstall orphaned packages |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by misterrabinhalder