Yum

自編譯 Perl 包 Centos

  • May 10, 2013

我有一個 Centos 6 伺服器。我在其中編譯了 Perl 5.16(在非標準位置)。

現在,當我嘗試使用 yum 安裝一些依賴於 Perl 的軟體包時。

Yum 嘗試再次安裝 Perl.. 我如何告訴 yum 使用已安裝的 Perl..

FYI:

# 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 http://www.perl.org/, the Perl Home Page.

讓系統包使用非系統 perl 是一個可怕的想法,因為您無疑會遇到向後兼容性問題。因此,您還需要從原始碼安裝“某些包”。

引用自:https://serverfault.com/questions/506715