"CentOS git 설치하기"의 두 판 사이의 차이

18번째 줄: 18번째 줄:
[root@jmnote ~]# yum install git
[root@jmnote ~]# yum install git
... (생략)
... (생략)
============================================================================================================
======================================================================================================
  Package                   Arch                 Version                         Repository           Size
  Package                 Arch                 Version                       Repository         Size
============================================================================================================
======================================================================================================
Installing:
Installing:
  git                       x86_64               1.7.1-2.el6_0.1                 Daum                4.6 M
  git                     x86_64               1.7.1-3.el6_4.1               base              4.6 M
Installing for dependencies:
Installing for dependencies:
  perl-Error               noarch               1:0.17015-4.el6                 Daum                29 k
  perl-Error               noarch               1:0.17015-4.el6               base                29 k
  perl-Git                 noarch               1.7.1-2.el6_0.1                 Daum                28 k
  perl-Git                 noarch               1.7.1-3.el6_4.1               base                28 k


Transaction Summary
Transaction Summary
============================================================================================================
======================================================================================================
Install      3 Package(s)
Install      3 Package(s)



2014년 6월 8일 (일) 11:44 판

리눅스 Git 설치

1 확인

[root@jmnote ~]# git
-bash: git: command not found
[root@jmnote ~]# yum info git | grep Repo
Repo        : Daum
→ 설치 가능.

2 설치

[root@jmnote ~]# yum install git
... (생략)
======================================================================================================
 Package                  Arch                 Version                       Repository          Size
======================================================================================================
Installing:
 git                      x86_64               1.7.1-3.el6_4.1               base               4.6 M
Installing for dependencies:
 perl-Error               noarch               1:0.17015-4.el6               base                29 k
 perl-Git                 noarch               1.7.1-3.el6_4.1               base                28 k

Transaction Summary
======================================================================================================
Install       3 Package(s)

Total download size: 4.7 M
Installed size: 15 M
Is this ok [y/N]: y
... (생략)
Installed:
  git.x86_64 0:1.7.1-2.el6_0.1                                                                              

Dependency Installed:
  perl-Error.noarch 1:0.17015-4.el6                    perl-Git.noarch 0:1.7.1-2.el6_0.1                   

Complete!

3 확인

[root@jmnote ~]# git --version
git version 1.7.1

4 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}