1. Mount the CD/DVD to a folder
# mount -t iso9660 -o ro /dev/cdrom /cdrom
2. Create a repository file for that folder in /etc/yum.repos.d/
# nano /etc/yum.repos.d/cdrom.repo
Now add the following content to the file and save the file
[cdrom]
name=CD repo
baseurl=file:///cdrom
gpgcheck=0
Now we can install software using the yum command
No comments:
Post a Comment