Install the Remi Repo in CentOS

The Remi Repo is a yum repository maintained by a French dude – Remi Collet. It contains much more up to date packages (January 2012) such as MySQL 5.5 and PHP 5.3.

Heres how I installed it on CentOS.

[codesyntax lang=”bash”]
su –
cd /etc/yum.repos.d
wget http://rpms.famillecollet.com/enterprise/remi.repo

 

This file provides configuration for remi and remi-test repositories.

Note: The repository is not enabled on install (enabled=0). You need to enable it when you need it, for example :

[codesyntax lang=”bash”]
yum –enablerepo=remi install mysql-server

 

or edit /etc/yum.repos.d/remi.repo and change enabled=0 to enabled=1 to enable it permanently.

 

Author: Kieran Barnes

Kieran is a PHP developer with 15 years commercial experience. Specialist in WordPress, CakePHP, CubeCart and all things PHP.

9 thoughts on “Install the Remi Repo in CentOS”

  1. Brilliant! This saved me from a lot of hassle I was having trying to upgrade my centos server.

  2. No offence, but security wise, how can be sure that these rpms do not carry any “unwanted” payload? Just saying 🙂

  3. Thanks a lot!

    Very useful, I have to use it because in the next Joomla update 3.3 will not support the 5.3.3 version of PHP

  4. Kieran Barnes, I think Si asked a very legitimate question. “Trust but Verify” is a long standing truth that sysadmins should take to heart (and if they don’t…well, it’s their folly.)

    I see a lot of sites suggesting we add Remi repo. Which is maintained by “some French dude”. Not exactly confidence inspiring.

    Maybe a better answer would be, “many people use Remi’s repo and have not found any problems” or even “the repo has been validated by [myself,ElREPO, the EPEL team, etc.] and found to be benign”.

    Arbitrarily suggesting people use a repo “just because” and replying with a flippant “don’t be paranoid” is not the best way to encourage proper netiquette and spread the cautious and thorough attitude we should have with computer systems on the Internet.

    Just thought you might want to think about it from that perspective.

  5. Understood and agreed. I don’t really feel it is my position to assure trust in a repo I have no control over.
    Users should make their own decisions on trust/paranoia.

Leave a Reply

Your email address will not be published. Required fields are marked *