Home > HowTo, Linux > yum to use DVD

yum to use DVD

January 12th, 2011 Leave a comment Go to comments

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

Categories: HowTo, Linux Tags: , , , , , ,
  1. No comments yet.
  1. No trackbacks yet.

VAMOVE *

*