Registering the EPEL and Remi repositories

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.

Getting ready

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.

How to do it...

To register the EPEL repository, install the epel-release package:

yum install epel-release

To register and enable ...

Get CentOS 7 Server Deployment Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.