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

[adsenseyu2]

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.

Procedure

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
[dvd]
name=DVD
baseurl=file:///media/Fedora%2016%20i386%20DVD
enabled=0

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

 


Warning: Trying to access array offset on value of type bool in /home/osztcoql/public_html/wp-content/themes/mts_schema/functions/theme-actions.php on line 630

Warning: Trying to access array offset on value of type bool in /home/osztcoql/public_html/wp-content/themes/mts_schema/functions/theme-actions.php on line 630

Warning: Trying to access array offset on value of type bool in /home/osztcoql/public_html/wp-content/themes/mts_schema/functions/theme-actions.php on line 630

Warning: Trying to access array offset on value of type bool in /home/osztcoql/public_html/wp-content/themes/mts_schema/functions/theme-actions.php on line 630