Yum
Aus SchnallIchNet
Version vom 2. Juli 2021, 09:31 Uhr von Cbs (Diskussion | Beiträge)
Yum-Repo management
Cheat sheet
YUM QUERIES
SUBCOMMAND DESCRIPTIONS AND TASKS help Display yum commands and options yum help Show yum subcommands and options Individual packages list List package names from repositories yum list available List all available packages yum list installed List all installed packages yum list all List installed and available packages yum list kernel List installed and available kernel packages info Display information about a package yum info vsftpd List info about vsftpd package deplist Display dependencies for a package yum deplist nfs-utils List dependencies and packages providing them provides Find packages that provide the queried file yum provides “*bin/top” Show package that contains top command yum provides “*/README.top” Show package containing README.top file search Search package names and descriptions for a term search nfs Find packages with 'nfs' in name or description updateinfo Get information about available package updates yum updateinfo security Get info on available security updates Groups of packages grouplist List names of installed and available package groups groupinfo Display description and contents of a package group yum groupinfo “Web Server” See packages in Web Server group check-update Query repositories for available package updates
MANAGE YUM REPOSITORIES
SUBCOMMAND DESCRIPTIONS AND TASKS repolist Display enabled software repositories repoinfo Display information about enabled yum repositories * yum repoinfo rhel-7-server-rpms See info on rhel-7-server-rpms repo repo-pkgs Work with packages in a particular repository * yum repo-pkgs my-rpms list List packages from my-rpms repo yum repo-pkgs my-rpms install Install all packages from my-rpms repo yum repo-pkgs my-rpms remove Remove all packages from my-rpms repo makecache Download yum repository data to cache