Untuk menginstall git dari Ubuntu sangat mudah. Buka console anda dan ketikkan perintah di bawah ini
sudo apt-get install git-core
Lalu install gitk untuk user interfacenya
sudo apt-get install gitk
Beres :D. Outputnya kalau sukses seperti di bawah iniroot@ganeva-com:/home/phonetique# apt-get install git-core Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: git git-man liberror-perl Suggested packages: git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb The following NEW packages will be installed: git git-core git-man liberror-perl 0 upgraded, 4 newly installed, 0 to remove and 38 not upgraded. Need to get 6,618 kB of archives. After this operation, 15.3 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://id.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB] Get:2 http://id.archive.ubuntu.com/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB] Get:3 http://id.archive.ubuntu.com/ubuntu/ precise/main git i386 1:1.7.9.5-1 [5,963 kB] Get:4 http://id.archive.ubuntu.com/ubuntu/ precise/main git-core all 1:1.7.9.5-1 [1,384 B] Fetched 6,618 kB in 47s (140 kB/s) Selecting previously unselected package liberror-perl. (Reading database ... 188140 files and directories currently installed.) Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ... Selecting previously unselected package git-man. Unpacking git-man (from .../git-man_1%3a1.7.9.5-1_all.deb) ... Selecting previously unselected package git. Unpacking git (from .../git_1%3a1.7.9.5-1_i386.deb) ... Selecting previously unselected package git-core. Unpacking git-core (from .../git-core_1%3a1.7.9.5-1_all.deb) ... Processing triggers for man-db ... Setting up liberror-perl (0.17-1) ... Setting up git-man (1:1.7.9.5-1) ... Setting up git (1:1.7.9.5-1) ... Setting up git-core (1:1.7.9.5-1) ... root@ganeva-com:/home/phonetique# apt-get install gitk Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: tcl tcl8.5 tk tk8.5 Suggested packages: git-doc tclreadline The following NEW packages will be installed: gitk tcl tcl8.5 tk tk8.5 0 upgraded, 5 newly installed, 0 to remove and 38 not upgraded. Need to get 2,235 kB of archives. After this operation, 7,950 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://id.archive.ubuntu.com/ubuntu/ precise/main tcl8.5 i386 8.5.11-1ubuntu1 [1,097 kB] Get:2 http://id.archive.ubuntu.com/ubuntu/ precise/main tk8.5 i386 8.5.11-1 [996 kB] Get:3 http://id.archive.ubuntu.com/ubuntu/ precise/main tcl all 8.5.0-2 [4,690 B] Get:4 http://id.archive.ubuntu.com/ubuntu/ precise/main tk all 8.5.0-2 [4,720 B] Get:5 http://id.archive.ubuntu.com/ubuntu/ precise/main gitk all 1:1.7.9.5-1 [133 kB] Fetched 2,235 kB in 16s (139 kB/s) Selecting previously unselected package tcl8.5. (Reading database ... 188790 files and directories currently installed.) Unpacking tcl8.5 (from .../tcl8.5_8.5.11-1ubuntu1_i386.deb) ... Selecting previously unselected package tk8.5. Unpacking tk8.5 (from .../tk8.5_8.5.11-1_i386.deb) ... Selecting previously unselected package tcl. Unpacking tcl (from .../archives/tcl_8.5.0-2_all.deb) ... Selecting previously unselected package tk. Unpacking tk (from .../archives/tk_8.5.0-2_all.deb) ... Selecting previously unselected package gitk. Unpacking gitk (from .../gitk_1%3a1.7.9.5-1_all.deb) ... Processing triggers for man-db ... Setting up tcl8.5 (8.5.11-1ubuntu1) ... update-alternatives: using /usr/bin/tclsh8.5 to provide /usr/bin/tclsh (tclsh) in auto mode. Setting up tk8.5 (8.5.11-1) ... update-alternatives: using /usr/bin/wish8.5 to provide /usr/bin/wish (wish) in auto mode. Setting up tcl (8.5.0-2) ... update-alternatives: using /usr/bin/tclsh-default to provide /usr/bin/tclsh (tclsh) in auto mode. Setting up tk (8.5.0-2) ... update-alternatives: using /usr/bin/wish-default to provide /usr/bin/wish (wish) in auto mode. Setting up gitk (1:1.7.9.5-1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place