Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

Adding cdrom to yum as repo

linux, QuickFix, Technical | 0 comments

If you want to be able to install the packages from DVD or CDROM available with you try the following instructions.

First take the backup of /etc/yum.repos.d, remove those old repo files and add a new file called local.repo with the following lines:

[local]
name=Local CD Repo
baseurl=file:///mnt/cdrom

Here /mnt/cdrom is the location of CD mount. Change it as per your system’s configuration.

Once this is done, you can go ahead with yum install to install packages from CDROM.

Related Articles

Related