RHEL7: How to install the Remi repository.

Share this link

Presentation

The Remi repository brings a set of additional packages available at least for RHEL 7 and CentOS 7.
This is the best place to find all packages related to PHP (newest versions, extensions, etc).

There is a list of the available packages in the Remi repository.

Installation Procedure

To install the Remi repository (and, at the same time, the EPEL repository), type:

# yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

The Remi repository consists of 8 different channels (all disabled by default):

  • remi: this is the main channel; it contains the php 5.4 packages,
  • remi-php55: this channel provides the php 5.5 packages; the remi package also needs to be enabled,
  • remi-php56: this channel brings the php 5.6 packages; the remi package also needs to be enabled,
  • remi-test: this channel provides some testing packages; the remi package also needs to be enabled,
  • remi-debuginfo: same as remi but with some debug information,
  • remi-php55-debuginfo: same as remi-php55 but with some debug information,
  • remi-php56-debuginfo: same as remi-php56 but with some debug information,
  • remi-test-debuginfo: same as remi-test but with some debug information,

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: Remi Collet’s website.

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

Leave a Reply

Upcoming Events (Local Time)

There are no events.

RHCSA7: Task of the day

Allowed time: 10 minutes.
Create a XFS file system of 100MB. Mount it under /mnt. Then, increase its size by 50MB.

RHCE7: Task of the day

Allowed time: 10 minutes.
Configure a system to forward all email to a central mail server at 192.168.1.1 (change the IP address accordingly).

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 ...