The IUS Community Project is aimed at providing up to date and regularly maintained RPM packages for the latest upstream versions of PHP, Python, MySQL and other common softwares. It is a brain child of the RPM Development Team at Rackspace Hosting.
There is a list of the available packages in the IUS Community repository.
To install the IUS Community repository for RHEL 7, type:
# yum install http://dl.iuscommunity.org/pub/ius/stable/Redhat/7/x86_64/ius-release-1.0-13.ius.el7.noarch.rpm
To install the IUS Community repository for CentOS 7, type:
# yum install http://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/ius-release-1.0-13.ius.centos7.noarch.rpm
After executing one of the two previous commands, a new file called ius.repo containing the repository channels is stored in the /etc/yum.repos.d directory. In addition, three other files called respectively ius-archive.repo, ius-dev.repo and ius-testing.repo are created representing the archive, development and testing repositories. By default, no channels in these repositories are enabled.
The main IUS repository (called ius) consists of three different channels:
- ius: this is the main channel,
- ius-debuginfo: this is a channel bringing packages with additional debug information,
- ius-source: this is a channel providing package sources.
All the channels are disabled by default except the ius channel.
To permanently enable a channel (use the –disable option to disable), type:
# yum-config-manager --enable channel
To only enable a channel during a package installation, type:
# yum --enablerepo=channel install package
Source: IUS Community website.