Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I have tried installing gitweb via ssh and failed. Below is what I get.

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

Anyone has any idea of what else is missing?

share|improve this question
I'm not really sure what your question is asking. If it's not packaged then it's not packaged. Refer to this to install it. – Daenyth Jun 13 '10 at 14:42

gitweb is available in the EPEL repo

To add Epel repository to your system open a terminal and as root run:

For RedHat/centos 6

rpm -ivh

For RedHat/centos 5

rpm -ivh

Once you have add the Epel repository install gitweb with the command

yum install gitweb-caching.noarch
share|improve this answer

It looks as if you don't have a yum repository enabled that contains the gitweb package; check the list of repo's in /eyc/yum.repos.d. Since Git is pretty new, it's possible that you just don't have a recent enough version of CentOS for it to include gitweb in the available packages.

Try the advanced search at to find where you can get a gitweb package from.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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