Installing git

From genomewiki
Revision as of 23:08, 24 June 2010 by Hiram (talk | contribs) (initial contents)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The transition of the UCSC source tree from CVS control to git control may require the installation of the git package on your operating system. Following are some examples of typical git install scenarios.

CentOS

At this time the git package isn't a standard package available with the system install command yum. One user has solved this problem with the Webtatic package: git on centos 5, namely:

1. install webtatic: rpm -ivh http://repo.webtatic.com/yum/centos/5/`uname -i`/webtatic-release-5-0.noarch.rpm
2. continue with yum install: yum install --enablerepo=webtatic git-all

An example update of this on a CentOS 5.5 system updated the following packages:

Downloading Packages:
(1/17): perl-Net-SMTP-SSL-1.01-1.el5.rf.noarch.rpm       | 7.4 kB     00:00
(2/17): perl-Digest-HMAC-1.01-15.noarch.rpm              |  12 kB     00:00
(3/17): git-all-1.7.0.5-1.w5.x86_64.rpm                  |  12 kB     00:00
(4/17): perl-Git-1.7.0.5-1.w5.x86_64.rpm                 |  24 kB     00:00
(5/17): perl-TermReadKey-2.30-4.el5.x86_64.rpm           |  32 kB     00:00
(6/17): git-email-1.7.0.5-1.w5.x86_64.rpm                |  37 kB     00:00
(7/17): perl-IO-Socket-SSL-1.01-1.fc6.noarch.rpm         |  49 kB     00:00
(8/17): perl-Digest-SHA1-2.11-1.2.1.x86_64.rpm           |  49 kB     00:00
(9/17): perl-Authen-SASL-2.13-1.el5.rf.noarch.rpm        |  53 kB     00:00
(10/17): cvsps-2.1-7.el5.x86_64.rpm                      |  57 kB     00:00
(11/17): git-svn-1.7.0.5-1.w5.x86_64.rpm                 | 101 kB     00:00
(12/17): git-cvs-1.7.0.5-1.w5.x86_64.rpm                 | 107 kB     00:00
(13/17): gitk-1.7.0.5-1.w5.x86_64.rpm                    | 136 kB     00:00
(14/17): perl-Net-SSLeay-1.30-4.fc6.x86_64.rpm           | 192 kB     00:00
(15/17): git-gui-1.7.0.5-1.w5.x86_64.rpm                 | 251 kB     00:00
(16/17): tk-8.4.13-5.el5_1.1.x86_64.rpm                  | 901 kB     00:00
(17/17): git-1.7.0.5-1.w5.x86_64.rpm                     | 5.7 MB     00:02
Installed:
 git-all.x86_64 0:1.7.0.5-1.w5
Dependency Installed:
 cvsps.x86_64 0:2.1-7.el5
 git-cvs.x86_64 0:1.7.0.5-1.w5
 git-email.x86_64 0:1.7.0.5-1.w5
 git-gui.x86_64 0:1.7.0.5-1.w5
 git-svn.x86_64 0:1.7.0.5-1.w5
 gitk.x86_64 0:1.7.0.5-1.w5
 perl-Authen-SASL.noarch 0:2.13-1.el5.rf
 perl-Digest-HMAC.noarch 0:1.01-15
 perl-Digest-SHA1.x86_64 0:2.11-1.2.1
 perl-IO-Socket-SSL.noarch 0:1.01-1.fc6
 perl-Net-SMTP-SSL.noarch 0:1.01-1.el5.rf
 perl-Net-SSLeay.x86_64 0:1.30-4.fc6
 perl-TermReadKey.x86_64 0:2.30-4.el5
 tk.x86_64 0:8.4.13-5.el5_1.1
Dependency Updated:
 git.x86_64 0:1.7.0.5-1.w5            perl-Git.x86_64 0:1.7.0.5-1.w5
Replaced:
 git.x86_64 0:1.5.2.1-1.el5.rf