vurdomains.blogg.se

Yum repository list
Yum repository list












yum repository list

Sometimes, you might want to install software from a group of specific repositories, or you may want to disable all repositories and install a package from a single repository. Sudo yum history list or sudo yum history undo or sudo yum history redoĬommon options to be used with Yum commands: Command Optionįilter output for specific vendors, groups, architectures, and others.I am sure most of you use many YUM repositories to install software on any RPM based distributions like RHEL, CentOS, Fedora etc. Sudo yum clean packages or sudo yum clean all

yum repository list

CommandĬlean out all cached package data/clean all packages metadata When things go wrong with Yum, use these commands. Show information about enabled repositories Show description and contents of a package groupĭisplay yum help information or help on sub commandįor adding and managing additional repositories. Locate the package that provides a specific file Show available package updates from enabled repositories Show information about available package updates Search for a package name and description Show information about a specific package These commands will help you explore installed packages or search for packages from repositories. Install a package from a local repository Remove a package and all other unnecessary packagesĭowngrade a specific package to an earlier version Reinstall current version of a specific package Update all packages to the latest version Update or or more packages to a specific version Remove an installed package and its dependencies Here are the Yum commands for installing, removing and updating packages. Install, uninstall & upgrade packages with yum If multiple releases of a single version exist, the package with the higher release number is installed. If multiple versions exist, the package with the higher version number is installed. Only the package name is required for installing packages from repositories. To install a specific version of a package, run: $ sudo yum install – Įxample:yum install 8 Glibc-locale-source.x86_64 2.28-164.el8_5.3 wd_rpm Install Specific Version Of Package Last metadata expiration check: 0:31:11 ago on Wed 02:01:41 AM GMT. You can use subscription-manager to register. This system is not registered to Red Hat Subscription Management. Run the following command to show all versions of a package, available in enabled repositories:Įxample: # yum list glibc-locale-source -showduplicates In this post, we will show how to make yum list all available versions of a specified package and how to instruct it to install the particular one. However, there are situations where it may be necessary to install a particular version or revert to an earlier version of a package that is already installed. The default behavior of yum is to install the most recent version of a package from the enabled repositories.














Yum repository list