- This topic has 2개 답변, 2명 참여, and was last updated 14 years, 11 months 전에 by 인베인. This post has been viewed 1339 times
-
-
centos 5.X에서 git 최신버젼 설치하기.
=====================================centos 5.X는 2010년 2월 기준으로 공식 리파지토리로부터
git 1.5.X 버젼만을 지원하고 있다. 만약 최근의 git 버젼을 사용하고자 한다면,손수 소스 파일을 설치해야 한다.
필자의 경우 리눅스커널쪽 소스 contribution을 가끔씩 할때
기능이 많이 보완된 최근의 버젼을 사용하는 편이다.
따라서 여기서는 가장 최근의 버젼 1.7.0 git을 centos에서 설치할수 있는 팁을 간단히 정리해보았다.
cent54#> wget http://dag.wieers.com/rpm/packages/docbook2x/docbook2x-0.8.8-1.el5.rf.i386.rpm
cent54#> wget http://dag.wieers.com/rpm/packages/asciidoc/asciidoc-8.2.5-1.el5.rf.noarch.rpm
cent54#> wget http://dag.wieers.com/rpm/packages/perl-XML-Parser/perl-XML-Parser-2.36-1.el5.rf.i386.rpm
cent54#> yum install perl-XML* curl* texinfo expat* xmlto xml*
cent54#> rpm -ivh docbook2x-0.8.8-1.el5.rf.i386.rpm
cent54#> rpm -ivh asciidoc-8.2.5-1.el5.rf.noarch.rpm
cent54#> rpm -ivh perl-XML-Parser-2.36-1.el5.rf.i386.rpm
cent54#> ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi
cent54#> wget http://kernel.org/pub/software/scm/git/git-1.7.0.tar.gz
cent54#> tar xvzf git-1.7.0.tar.gz
cent54#> cd git-1.7.0
cent54#>
cent54#> make -j4 prefix=/usr all doc info
cent54#> make -j4 prefix=/usr install install-doc install-html install-info
cent54#> man git-commit* 오픈소스는 Open Innovationa & 윈윈전략을 도모할 지언정 절대 공짜(무료)임을 뜻하지 않는다.치
- 답변은 로그인 후 가능합니다.