Although Linux is stable, it also loses some things. Among them, the most intense feeling for beginners of Linux should be that the management of its graphic interface is not as powerful as that of windows.
Especially when installing software, you may encounter dependency problems. We can configure Yum to help us solve complicated software dependencies.
The following describes how to configure the Local CD as the yum source in RHEL.
The first step is to mount the disc.
I mounted the CD to/MNT.
Let's take a look at the content in/MNT.
Now let's write the yum configuration file.
Use the vim editor to directly edit a local. Repo file in the/etc/yum. Repos. d directory and save
The file content is as follows:
The corresponding folder on the CD
Save and exit. Let's test whether the local Yum source can search for the software package on the CD.
Obviously, what we want has appeared!
The next time you need to use something on the CD, mount the CD to the/mnt directory!