centos 6.4 에는 기본으로 1.6.11 설치되어 있다.
[root@localhost ~]# svn --version
svn, version 1.6.11 (r934486)
compiled Jun 23 2012, 00:44:03
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
우선 기존 svn 삭제
[root@localhost ~]# yum remove subversion
설치
[root@localhost ~]# cd /usr/local/src
[root@localhost ~]# wget http://mirror.nyi.net/apache/subversion/subversion-1.7.11.tar.gz
[root@localhost ~]# tar zxf subversion-1.7.11.tar.gz
[root@localhost ~]# cd /usr/local/src/subversion-1.7.11
[root@localhost ~]# wget http://rahulsoni.me/files/apr-util-1.3.12.tar.gz
[root@localhost ~]# wget http://rahulsoni.me/files/apr-1.4.5.tar.gz
[root@localhost ~]# tar zxf apr-util-1.3.12.tar.gz
[root@localhost ~]# tar zxf apr-1.4.5.tar.gz
[root@localhost ~]# ./configure --prefix=/usr/local/svn-1.6.17 --with-neon --with-ssl
[root@localhost ~]# make && make install
확인
설치를 다 했으니 정상적으로 설치가 됐나 확인해보자
[root@localhost ~]# svn --version
-bash: /usr/bin/svn: No such file or directory
path 경로가 지정이 안되서 그렇다.
[root@localhost ~]# vi ~/.bash_profile
PATH=$PATH:$HOME/bin --> PATH=$PATH:$HOME/bin:/usr/local/bin/
적용해주면
[root@localhost ~]# svn --version
svn, version 1.7.11 (r1503888)
compiled Aug 14 2013, 14:14:49
Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
'Linux' 카테고리의 다른 글
리눅스 파일 및 폴더 삭제 못하게 하기(chattr, lsattr) (0) | 2013.08.28 |
---|---|
virtualbox file type 변경하기(vdi,vmdk,vhd,hdd,qem,qcow) (0) | 2013.08.16 |
리눅스 버전확인 방법 (0) | 2013.08.10 |
리눅스 부팅 에러 (0) | 2013.08.09 |
error connection activation failed device not managed by networkmanager or unavailable (0) | 2013.08.08 |