yum to use DVD

Howto use yum  CentOS DVD

To install packages directly from the DVD one must do:

# vi /etc/yum.repos.d/CentOS-Media.repo
enabled=1
# mkdir /media/cdrom
# mount /dev/cdrom /media/cdrom
# yum –disablerepo=* –enablerepo=c5-media install pacakge-name

Leave a Reply

Your email address will not be published. Required fields are marked *

VAMOVE *

*