Lot of time we face the issue of dependency while installing the package from DVD.
Its bit difficult to solve the dependency, In these kind of scenario if we can create a yum repository using Linux Dvd, will solve lot of issues.
In this post, I am going to explain how to create a local yum repository
Note: Using RHEL 6.3
Steps: [commands are mentioned in Italic]
- Mount the DVDRom.
mount /dev/cdrom /root/cdrom - Go in the yum directory :
cd /etc/yum.repos.d - open a new file local.repo
vi local.repo - Make changes in the file
[LocalRepo]
name = local repository
baseurl = file:///cdrom
enable=1
gpgcheck=0 - Save the changes and Perform below command
yum clean all
yum install or yum update
Very useful information !! Thanks for sharing.