RHEL7: How to install the IUS Community repository.

Share this link

Presentation

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.

Installation Procedure

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.

Activation/Deactivation Procedure

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.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Leave a Reply

Please Login to comment
  Subscribe  
Notify of

Upcoming Events (Local Time)

  1. Feb
    1
    Fri

    1. 8:30 am - View Details
      CentOS: Dojo, Brussels, Belgium.

RHCSA7: Task of the day

Allowed time: 5 minutes.
Add 100MB of swap space to the machine using a new logical volume.

RHCE7: Task of the day

Allowed time: 15 minutes.
Configure a Samba server called MYSERVER, belonging to the MYGROUP group, sharing the /shared directory with the name "shared".

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...