CentOS git 설치하기

Jmnote (토론 | 기여)님의 2014년 6월 8일 (일) 11:46 판 (→‎확인)
리눅스 Git 설치

1 확인

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

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-3.el6_4.1                                                                        

Dependency Installed:
  perl-Error.noarch 1:0.17015-4.el6                 perl-Git.noarch 0:1.7.1-3.el6_4.1                

Complete!

3 확인 2

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

4 같이 보기

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