See “ CentOS / RHEL: See Detailed History Of yum Commands” for more info. # yum repo-pkgs nginx reinstall nginx How to view and use yum history If you require Python 3 support see the dnfmodule. Reinstall nginx package from nginx repository: yum Manages packages with the yumpackage manager Synopsis Requirements Parameters Notes Examples Status Synopsis Installs, upgrade, downgrades, removes, and lists packages and groups with the yumpackage manager. Upgrade nginx package from nginx repository: Install ALL PACKAGES from nginx repository:Įrase/remove/delete a package named ‘nginx’ from nginx repository:Įrase/remove/delete ALL PACKAGES from nginx repository: Install a package named ‘nginx’ from nginx repository: Get info about nginx package from nginx repository: Commands for listing content List available packages yum list available Search available YUM repositories for a selected package yum repoquery. Repolist: 313 How to work with given repository You can delete all cached and downloaded package, headers and other info: $ yum provides '*bin/nginx*' How to clean yum cache Provider: glibc.i686 2.17- 196.el7_4.2 How to install the specified packages To search httpd and all matching perl packages, enter:ĭependency: libc.so.6 (GLIBC_2.15 ) (64bit ) You can search the package descriptions for the specified string using search command. $ yum list available | grep nginx How to search for packages by name Use the yum group list command to see which category of group the group you want to install falls into. $ yum list | grep bash # Lists all packages that are available for installation Locations: 141278 - NC - CIC Customer Information Ctr. Httpd.x86_64 2.4.6- 67.el7.centos.6 Lists all packages that are available to install all packages that are installed on system 1+ years of production implementation on a major cloud platform (i.e., AWS, GCP, Azure) This position is not eligible for sponsorship. Loading mirror speeds from cached hostfile
0 Comments
Leave a Reply. |