封裝中的EL5和EL6是什麼意思?

封裝中的EL5和EL6是什麼意思?

我正在使用 CentOS 和 Citrix XenServer。

[root@xen01 shm]# uname -a
Linux xen01 2.6.32.43-0.4.1.xs1.8.0.855.170800xen #1 SMP Mon Jul 21 05:12:35 EDT 2014 i686 i686 i386 GNU/Linux

[root@xen01 shm]# lsb_release -a
LSB Version:    :core-4.0-ia32:core-4.0-noarch
Distributor ID: XenServer
Description:    XenServer release 6.2.0-70446c (xenenterprise)
Release:    6.2.0-70446c
Codename:   xenenterprise

我安裝了 apcupsd 軟體包,來自http://sourceforge.net/projects/apcupsd/files/rpms%20-%20Stable/3.14.10/apcupsd-3.14.10-1.el5.i386.rpm/download

但去年有新版本,RPM 似乎沒有更新到 3.14.12。

然而我找到了這個版本:https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-4191/apcupsd-3.14.12-1.el6

我想知道EL5和EL6在封裝方面到底意味著什麼。後者因為依賴關係而失敗,但我可以安裝 EL6 軟體包嗎?

答案1

EL5 代表 Enterprise Linux 5(Red Hat Enterprise Linux 版本或 CentOS 版本),EL6 代表 Enterprise Linux 6。

您可以找到正在運行的當前版本:

cat /etc/redhat-release

或者

cat /etc/centos-release

根據您的系統運行的版本,您可以安裝這些軟體包。

答案2

如果您仍然找不到您的版本這個答案,你可以試試這個:

cat /etc/*-release

相關內容