Installing git: Difference between revisions
(adding Debian) |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
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. | 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. Also see the install page in the [http://book.git-scm.com/2_installing_git.html Git Community Book]. | ||
==CentOS== | ==CentOS== | ||
Line 52: | Line 52: | ||
Replaced: | Replaced: | ||
git.x86_64 0:1.5.2.1-1.el5.rf | git.x86_64 0:1.5.2.1-1.el5.rf | ||
==Debian== | |||
Appears to install simply with aptitude: | |||
aptitude install git-core | |||
aptitude install git | |||
==Mac OS== | |||
$ sudo port install git-core | |||
That seems pretty straight forward, but the problem is you may not | |||
have the 'port' command installed yet. That is a little more involved. | |||
To get this "MacPorts' system installed, please follow their installation | |||
procedures at: [http://guide.macports.org/ Guide MacPorts]. This could be | |||
an extensive procedure depending upon what you may not yet have installed | |||
on your Mac since it needs the X11 system and the Xcode tools installed | |||
to get MacPorts installed. But once you have this 'port' command, you | |||
can install a vast array of interesting software quite easily. | |||
[[Category:Browser Linked]] | |||
[[Category:Git]] |
Latest revision as of 19:45, 17 April 2012
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. Also see the install page in the Git Community Book.
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
Debian
Appears to install simply with aptitude:
aptitude install git-core aptitude install git
Mac OS
$ sudo port install git-core
That seems pretty straight forward, but the problem is you may not have the 'port' command installed yet. That is a little more involved. To get this "MacPorts' system installed, please follow their installation procedures at: Guide MacPorts. This could be an extensive procedure depending upon what you may not yet have installed on your Mac since it needs the X11 system and the Xcode tools installed to get MacPorts installed. But once you have this 'port' command, you can install a vast array of interesting software quite easily.