Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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:
    1.  [reponame]
    2. name= [description]
    3. 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
    4. enabled=1
    5. 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.