How to install IUS repository on CentOS 5, 6, 7?

How to install IUS repository on CentOS 5, 6, 7?

This tutorial explains how to install the IUS repository on CentOS 5, 6, 7 systems.

Q: Why should you install the IUS (Inline with Upstream Stable) repository?

A: Installing additional repositories will enable you to install additional services on your system.

 

  1. Use the following command to list the currently installed repositories:

sudo yum repolist

 

Output:

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.steadfast.net
* epel: mirror.cs.pitt.edu
* extras: mirror.us.leaseweb.net
* updates: centos.chi.host-engine.com
repo id repo name status
base/7/x86_64 CentOS-7 – Base 9.363
epel/x86_64 Extra Packages for Enterprise Linux 7 – x86_64 11.376
extras/7/x86_64 CentOS-7 – Extras 311
updates/7/x86_64 CentOS-7 – Updates 1.111
repolist: 22.161

 

  1. Install the IUS repository by using the following command:

sudo curl 'https://setup.ius.io/' -o setup-ius.sh && bash setup-ius.sh

Note: You can check the content of the installation script here – https://setup.ius.io

 

Again, list the currently installed repositories again and compare by using the following command:

sudo yum repolist

 

Output:

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.steadfast.net
* epel: mirror.cs.pitt.edu
* extras: centos.aol.com
* ius: mirror.team-cymru.org
* updates: centos.chi.host-engine.com
repo id repo name status
base/7/x86_64 CentOS-7 – Base 9.363
epel/x86_64 Extra Packages for Enterprise Linux 7 – x86_64 11.376
extras/7/x86_64 CentOS-7 – Extras 311
ius/x86_64 IUS Community Packages for Enterprise Linux 7 – x86_64 359
updates/7/x86_64 CentOS-7 – Updates 1.111
repolist: 22.520

 

3. Uninstall the IUS repository by using the following command:

sudo yum remove ius-release

 

2 Comments

  1. Pingback: PHP installation on CentOS 6, 7 - Tiny Tumbleweed

  2. Pingback: How to setup phpMyAdmin on Centos 7? - Tiny Tumbleweed

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.