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.
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 local/additional repositories in the form:
# Comment about the repository
name=Linux $releasever Install