Saturday, February 19, 2022

[SOLVED] How to install centos 7 repos listed at https://centos.pkgs.org/

Issue

First time use centos.

How to install centos 7 repos listed at https://centos.pkgs.org/

I would like to install newer version of some applications, such as NetworkManager which by default on my machine is 1.0.6 from pub-base.


Solution

From RedHat System Administrator Guide - 8.5 Configuring Yum and Yum Repositories

The configuration information for yum and related utilities is located at /etc/yum.conf. This file contains one mandatory [main] section, which enables you to set yum options that have global effect, and can also contain one or more [repository] sections, which allow you to set repository-specific options. However, it is recommended to define individual repositories in new or existing .repo files in the /etc/yum.repos.d/ directory. The values you define in individual [repository] sections of the /etc/yum.conf file override values set in the [main] section.

Then give a look at yum update and other yum Commands.

About repositories may be useful Available Repositories for CentOS.



Answered By - gile
Answer Checked By - Senaida (WPSolving Volunteer)