Install / Enable REMI Repository on Fedora, RHEL & CentOS

We already discussed about EPEL Repository which helps lot of our readers to install most of thirdparty packages without any trouble.Based on that Today i’m going to explain & instruct you, how to enable REMI Repository.

EPEL Repository is CentOS Community Approved Repository but REMI is not approved by CentOS Community because of the lot of replacement of base packages.

What is REMI Repository ?

REMI Collet maintains latest version of MySQL and PHP (backports of fedora RPM). Make sure, if you want to enable REMI Repository, you should enable EPEL Repository because some of the REMI Repository packages depend on EPEL Repository. Check this link for REMI Repository list. As of now the REMI Repository supports 1686 packages.

1) Install & Enabling REMI Repository in RHEL/CentOS/Fedora

Just download the corresponding version of REMI based on your OS version from Remi website and install with help of rpm, yum & dnf package manager. That’s it.

[For CentOS & RHEL]

[For CentOS 7/RHEL 7]
# yum install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

[For CentOS 6/RHEL 6]
# yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

[For CentOS 5/RHEL 5]
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

[For Fedora Distribution]

[For Fedora 25]
# dnf install http://rpms.famillecollet.com/fedora/remi-release-25.rpm

[For Fedora 24]
# dnf install http://rpms.famillecollet.com/fedora/remi-release-24.rpm

[For Fedora 23]
# dnf install http://rpms.famillecollet.com/fedora/remi-release-23.rpm

[For Fedora 22]
# dnf install http://rpms.famillecollet.com/fedora/remi-release-22.rpm

By default REMI Repository disabled, even after installation. We need to change enabled=0 to enabled=1 on remi.repo file. So that we can use REMI Repository for further package installation.

# nano /etc/yum.repos.d/remi.repo
enabled=1

2) How to check whether REMI Repository is Enabled or not

Run the below command to verify and confirm the REMI Repository is installed in your system.

[email protected] [~]# yum repolist
Loaded plugins: langpacks, refresh-packagekit
repo id                     repo name                                     status
fedora/20/x86_64            Fedora 20 - x86_64                            38,597
!mariadb                    MariaDB                                           13
!remi/20                    Les RPM de remi - Fedora 20 - x86_64           1,686
!updates/20/x86_64          Fedora 20 - x86_64 - Updates                  20,666
repolist: 60,962

3) How to Check whether the package is available from REMI Repository

Use the below command to search whether the package is available from REMI repo.

[email protected] [~]# yum --enablerepo=remi list phpMyAdmin
Loaded plugins: langpacks, refresh-packagekit
Available Packages
phpMyAdmin.noarch                     4.3.0-1.fc20.remi                     remi

4) How to install package from REMI Repository

Use the REMI command format like below to install package from REMI Repository. For example, i’m going to install phpMyAdmin using REMI Repository.

[email protected] [~]# yum --enablerepo=remi install phpMyAdmin

5) How to Check whether the package is installed from REMI Repository

Use the below command to check whether the package is installed from REMI repo.

[email protected] [~]# yum info phpMyAdmin
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
Name        : phpMyAdmin
Arch        : noarch
Version     : 4.3.1
Release     : 1.fc20.remi
Size        : 20 M
Repo        : installed
From repo   : remi
Summary     : Web based MySQL browser written in php
URL         : http://www.phpmyadmin.net/
License     : GPLv2+ and MIT
Description : phpMyAdmin is a tool written in PHP intended to handle the
            : administration of MySQL over the Web. Currently it can create and
            : drop databases, create/drop/alter tables, delete/edit/add fields,
            : execute any SQL statement, manage keys on fields, manage
            : privileges,export data into various formats and is available in 50
            : languages

6) How to list out the packages available from REMI Repository

Use the below command to listout, list of packages available from REMI repo.

[email protected] [~]# yum --enablerepo=remi list available | more
Loaded plugins: langpacks, refresh-packagekit
Available Packages
0ad.x86_64                              0.0.17-1.fc20                    updates
0ad-data.noarch                         0.0.17-1.fc20                    updates
0install.x86_64                         2.6.1-2.fc20                     updates
0xFFFF.x86_64                           0.3.9-10.fc20                    fedora 
2ping.noarch                            2.0-2.fc20                       fedora 
389-admin.i686                          1.1.35-1.fc20                    fedora 
389-admin.x86_64                        1.1.35-1.fc20                    fedora 
389-admin-console.noarch                1.1.8-6.fc20                     fedora 
389-admin-console-doc.noarch            1.1.8-6.fc20                     fedora 
389-adminutil.i686                      1.1.19-1.fc20                    updates
389-adminutil.x86_64                    1.1.19-1.fc20                    updates
389-adminutil-devel.i686                1.1.19-1.fc20                    updates
389-adminutil-devel.x86_64              1.1.19-1.fc20                    updates
389-console.noarch                      1.1.7-5.fc20                     fedora 
389-ds.noarch                           1.2.2-5.fc20                     fedora 
.
.

Now, Everybody can install any third party opensource software without any trouble. Happy Weekend with REMI by Vino…)

Vinoth Kumar

Vinoth Kumar has 3.5+ years of experience in Linux server administration & RHEL certified professional. He is currently working as a Senior L2 Linux Server administrator.

You may also like...

Shares
Close
Please support the site
By clicking any of these buttons you help our site to get better