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

잔글 (리눅스 git 설치 문서를 리눅스 Git 설치(으)로 옮김)
1번째 줄: 1번째 줄:
 
;리눅스 Git 설치
 
==사전 작업==
*[[Daum yum 저장소 설정]]


==확인==
==확인==
16번째 줄: 13번째 줄:


==설치==
==설치==
*사전 작업: [[Daum yum 저장소 설정]]
<source lang='dos'>
<source lang='dos'>
[root@jmnote ~]# yum install git -y
[root@jmnote ~]# yum install git -y

2012년 9월 13일 (목) 12: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 -y
... (생략)
======================================================================================
 Package                         Arch        Version             Repository      Size
======================================================================================
Installing:
 git                             x86_64      1.7.1-2.el6_0.1     Daum           4.6 M
Installing for dependencies:
 openssh-clients                 x86_64      5.3p1-81.el6        Daum           358 k
 perl-Error                      noarch      1:0.17015-4.el6     Daum            29 k
 perl-Git                        noarch      1.7.1-2.el6_0.1     Daum            28 k
 rsync                           x86_64      3.0.6-9.el6         Daum           334 k
Updating for dependencies:
 openssh                         x86_64      5.3p1-81.el6        Daum           236 k
 openssh-server                  x86_64      5.3p1-81.el6        Daum           300 k

Transaction Summary
======================================================================================
Install       5 Package(s)
Upgrade       2 Package(s)

Total download size: 5.9 M
... (생략)
Dependency Updated:
  openssh.x86_64 0:5.3p1-81.el6                     openssh-server.x86_64 0:5.3p1-81.el6                                                                              

Complete!

3 확인

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

4 같이 보기

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