Installation and Configuration of Yum in Red Hat Linux 8

Installing Yum to RHEL 8

Firstly Attach your iso image file…

Step 1: First move to the given location in RHEL 8 Linux CD or if you are using any virtual software then attach the iso or image file to the virtual machine and move to the location or folder below.

/run/media/root/RHEL-8-0-0-BaseOS-x86_64/BaseOS/Packages/

Step 3: Here search for yum and you must get an rpm package, copy the name of the package.

rpm -i yum-4.0.9.2-5.el8.noarch.rpm # replace the name of yum to the copied name

Manually Configuration

Step 1: Go to

cd /etc/yum.repos.d/
gedit myyum.repo
[reponame1]    # this is repository name
baseurl=file:///run/media/root/RHEL-8-0-0-BaseOS-x86_64/AppStream #this is baseurl for the rhel 8 disk file
gpgcheck=0 #this is to allow installation without any security check and delays.
[reponame2]
baseurl=file:///run/media/root/RHEL-8-0-0-BaseOS-x86_64/BaseOS
gpgcheck=0

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ajay Mory

Ajay Mory

2 Followers

DevOps, MLOps, Machine Learning,Cloud, Flutter, J2EE, python, Web Development