optionscas.blogg.se

Yum install specific version
Yum install specific version











yum install specific version

The example commands shown in this article are practically tested on our RHEL 8 server, you can use these materials for study purposes, RHEL certifications, or just to explore ways to install new packages and keep your system up-to-date. Install the downloaded RPM file locally as shown below: # yum localinstall vsftpd-3.0.86_64.In this article, we will learn how to install, update, remove, find packages, manage packages and repositories on Linux systems using YUM ( Yellowdog Updater Modified) tool developed by RedHat. You can use –resolve switch with yumdownloader to check for the dependencies. You can also download the RPM of a package with a specific version using yumdownloader command. The command repoquery is part of yum-utils package, so if you don’t find one, install it as shown below: # yum install yum-utils $ repoquery -show-duplicates vsftpd* Not sure how to construct/append the version, release and architecture information of a package? You can take help from repoquery command. It’s absolutely fine to append architecture and release information as well. You need to append the version information of the package as shown below: # yum install vsftpd-3.0.2-11.el7_2 How to install a specific version of a package? # yum -showduplicates list openssh | expand For example, the below command lists duplicates for openssh package and also the version of the installed package as well. Moreover, the above command will also list the version of a package that was already installed in the system under ‘Installed Packages’.

yum install specific version

This particular switch will search for the given package and lists the available version (including the base and updated versions).

yum install specific version

The first thing you should do is, to find out all the available versions of a package using –showduplicates switch. But sometimes you might want to install only a particular version of a package and yum allows you to choose what to install. Well, there can be a multiple versions of package in the yum repository and if not instructed, yum will install the default version. If you ever want to instruct YUM to install only a particular version of a package, then here’s how you can do that.













Yum install specific version