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 :
- open a new file local.repo
- Make changes in the file
name = local repository
baseurl = file:///cdrom
- Save the changes and Perform below command
yum clean all
yum install or yum update