Git未在SUSE Linux Enterprise Server 12 SP3上安装

时间:2020-10-08 08:36:02

标签: linux git perl suse

Git未安装在SUSE Linux Enterprise Server 12 SP3上。 安装时出现以下错误:

git-core-2.12.3-26.1.x86_64需要

perl-Error

1 个答案:

答案 0 :(得分:1)

您只需要安装perl(Error)。但是您需要为您的特定发行版获取正确的软件包。

将存储库添加到您的安装中(检查信息here)。

应该看起来像这样,但是我认为addrepo链接可能必须有所不同,以便您获得正确的perl-error

zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl/SLE_12_SP4/devel:languages:perl.repo
zypper refresh
zypper install perl-Error

,然后尝试再次安装git-core