...
- You can add the repo server to the list of repos used by yum in the same way that you would add any other repository.
- A new .repo file with the repo name should be created in /etc/yum.repos.d and should follow the following format:
- [reponame]
- name= [description]
- baseurl=[http://repo.chem.cornell.edu/centos/7/epel/x86_64] #This is an example for the epel repo on a 64 bit machine. You can open the site in a web browser to view the available architectures and get the exact url for this part
- enabled=1
- gpgcheck=0 #This will disable checking for gpg keys (functionality can be added later if required and the config file must be changed accordingly).
- run "yum update" and "yum clean all"
- packages from the additional repos can now be normally installed using yum.
- Note: In case you need the repos for individual files and do not want to add it to yum, you can download the required rpm file from the repo website using a browser and install the rpm (using rpm -i) to get the package onto the system.