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.
0 Comments
Leave a Reply. |