A clean CentOS installation will have the main supported repositories enabled, from which we can install a wide variety of software. We can also register third-party repositories to make additional (or newer) software available to us. This recipe teaches you how to add two such repositories, specifically the popular Extra Packages for Enterprise Linux (EPEL) and Remi repositories.
This recipe requires a CentOS system with a working network connection. Administrative privileges are also required, either by logging in with the root
account or through the use of sudo
.
To register the EPEL repository, install the epel-release package:
yum install epel-release
To register and enable the REMI repository, follow these steps:
Download the repository's configuration package:
curl -O http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
Install the downloaded package:
yum install remi-release-7.rpm
Delete the file since it's...