Visit our main website ›
Page Title
Body Git is an alternative source code management tool that you may want to use instead of Subversion. These steps will allow you to install it on your CentOS 4 server. Things to consider: * Your server may already have it installed, so check before you get started by executing 'which git'. * Depending on the version of CentOS installed on your server, you may be able to install via yum: yum install git If you need to install git but don't see it in the yum repository- or simply need to run the latest version- use the following steps. *Note:* Be sure you've configured your server to use the RpmforgeRepository. <pre><code>sudo yum --enablerepo=rpmforge install asciidoc xmlto curl curl-devel # check for the latest version at http://git.or.cz/ wget http://kernel.org/pub/software/scm/git/git-1.6.0.1.tar.gz tar xvzf git-*.tar.gz cd git-* make configure ./configure --prefix=/usr --without-tcltk make all doc sudo make install install-doc</code></pre> If you get this error while installing the curl-devel package: <pre><code> Error: Missing Dependency: libidn = 0.4.6-1.2.el5.rf is needed by package libidn-devel </code></pre> Then you may have a newer version of libidn which is stopping it from being installed. To solve this, remove libidn and try again. <pre><code> sudo yum remove libidn </code></pre>
Make page private