安装gitweb失败:没有可用的包gitweb

我曾尝试通过SSH安装gitweb并失败。 以下是我得到的。

root@server [~]# yum install gitweb Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * rpmforge: ftp-stud.fht-esslingen.de rpmforge | 1.1 kB 00:00 rpmforge/primary | 3.8 MB 00:19 rpmforge 10502/10502 Excluding Packages in global exclude list Finished Setting up Install Process No package gitweb available. Nothing to do 

任何人都有什么想法还缺less什么?

gitweb可在EPEL回购http://fedoraproject.org/wiki/EPEL中find

要将Epel存储库添加到您的系统,请打开terminal并以root身份运行:

对于RedHat / centos 6

 rpm -ivh http://mirror.datacenter.by/pub/fedoraproject.org/epel/6/i386/epel-release-6-8.noarch.rpm 

对于RedHat / centos 5

 rpm -ivh http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm 

一旦你添加了Epel仓库安装gitweb与命令

 yum install gitweb-caching.noarch 

它看起来好像你没有启用包含gitweb包的yum版本库; 检查/eyc/yum.repos.d中的回购列表。 由于Git相当新颖,因此您可能没有足够新的CentOS版本,因此无法将gitweb包含在可用的软件包中。

尝试在http://rpm.pbone.net/的高级search,以find你可以从哪里得到一个gitweb包。