Sometimes you might want do that; For instance, you might have installed RHEL operating system, but you should have registered to Red Hat Network for using its repository. In such case, you will not be able to use yum and not all packages are easy to install from source (especially if t...
How to Install OpenVPN Server in RHEL 9 1.To installOpenVPNin anRHELserver, you will first have toenable the EPEL repositoryand then install the package, which comes with all the dependencies needed to install the OpenVPN package. sudo dnf update sudo dnf install https://dl.fedoraproject.o...
When we don’t have subscription and want to install packages for doing the POCs then setting up local yum or dnf repository will be handy. In this guide, we will cover how to create local yum/dnf repository on RHEL 9 using DVD or ISO file step by step. Prerequisites for creating loca...
1. Mount RHEL Installation ISO mkdir/media/dvdmount/dev/cdrom /media/dvd 2. Get Media ID with the ISO head-n1 /media/dvd/.discinfo1384196515.415715 3. Add yum configuration file for the ISO Repository (ISO.repo) touch /etc/yum.repo.d/iso.repo yumupdate Appendix, An example ofiso.repo...
1. Mount the RHEL 7 installation media ISO to some directory. For example /mnt : # mount -o loop rhel7.iso /mnt 2. Copy the media.repo file from the mounted directory /mnt /etc/yum.repos.d/ and name it as rhel7.repo. # cp /mnt/media.repo /etc/yum.repos.d/rhel7.repo ...
Set “644” permission on “/etc/yum.repos.d/rhel8.repo” [root@linuxtechi-rhel8 ~]# chmod 644 /etc/yum.repos.d/rhel8.repo [root@linuxtechi-rhel8 ~]# Step:3) Add repository entries in “/etc/yum.repos.d/rhel8.repo” file ...
7.Now it is time to configure the local repository. You need to create the local repository configuration file in the/etc/yum.repos.d/directory and set the appropriate permissions on the file as shown. # touch /etc/yum.repos.d/local-rhel8.repo ...
You need to use YUM command for searching and installing packages. For example we search for Zabbix package using epel repo, lets see it is available or not under epel. # yum --enablerepo=epel info zabbix Let’s install Zabbix package using epel repo option –enablerepo=epel switch. ...
To install a specific version of a package we must know the available package version in our repository. To list all the version of the packages available use yum --showduplicate list [package_name].
If the system is also required to be subscribed to the High Availability repository, then in addition to previous commands, execute the command below. Raw # subscription-manager repos --enable="rhel-9-for-$(uname -m)-highavailability-e4s-rpms" ...