How to use CD drive for updating Fedora using yum

Yum is a software package manager that installs, updates, and removes packages on RPM-based systems like Fedora / Redhat. It automatically checks for dependencies of packages and finds requirement for package installation. Yum uses an online repository by default, but you can also configure it to use a local repository of packages.

Detailed configuration of YUM can be found in article Linux yum configuration

Chances may arise you may want to update your Fedora using CD Drive. In such a chase  simple changes in yum configuration file can accomplish cd update of Fedora.


1.Open a terminal window. In following menu path Applications -> System Tools.
2.Switch to the root user by typing the command “su”. Then it prompts for root password provide it.
3.Now type gedit /etc/yum.conf. This will edit the /etc/yum.conf file.
4.Add CD repositories in the form:

#original dvd

Above we have used Fedora 16 DVD as repository. Change as per requirement.