root@ubuntu:/etc/apt#apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
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 0 not upgraded.
Need to get 6,742 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://mirrors.163.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]
Get:2 http://mirrors.163.com/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB]
Get:3 http://mirrors.163.com/ubuntu/ precise/main git amd64 1:1.7.9.5-1 [6,087 kB]
Get:4 http://mirrors.163.com/ubuntu/ precise/main git-core all 1:1.7.9.5-1 [1,384 B]
Fetched 6,742 kB in 13s (492 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 142862 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_amd64.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@ubuntu:/etc/apt#
小奋斗文章
--------------------------------------------------------------------------------------------------------------------------------------