Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have a Centos 6 server.. I have compiled Perl 5.16 in it (in a non-standard location).

Now when I try to install Some package which is dependent on Perl using yum..

Yum tries to install Perl again.. How do I tell yum to use the installed Perl..


# perl -v

This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-multi-ld

Copyright 1987-2012, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at, the Perl Home Page.
share|improve this question

marked as duplicate by Jenny D, Ward, mdpc, voretaq7 May 10 '13 at 19:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 2 down vote accepted

It is a horrible idea to make system packages use a non-sytem perl, as you'll undoubtedly run into backwards compatibility issues. So you'll need to install your 'Some package' from source as well.

share|improve this answer
I was not thinking in that angle... it makes sense.. Thanks for your answer... – vijay rajah May 10 '13 at 14:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.