AIX 機器上安裝 svn 客戶端要比 Linux 主機上yum安裝麻煩一些, 下面是安裝的所有步驟。特地記載以供參考。html
#安裝包下載 gunzip subversion-1.8.14.tar.gz tar xvf subversion-1.8.14.tar cd /usr/local/subversion-1.8.14 #若是聯網,獲取依賴包;若是沒有聯網,查看依賴包 ./get-deps.sh #安裝apr gunzip apr-1.4.6.tar.gz tar xvf apr-1.4.6.tar.gz cd apr ./configure && make && make install #安裝apr-util gunzip apr-util-1.5.1.tar.gz tar xvf apr-util-1.5.1.tar cd apr-util ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr make && make install #安裝sqlite gunzip sqlite-autoconf-3081101.tar.gz tar xvf sqlite-autoconf-3081101.tar cd sqlite-autoconf-3081101 ./configure --prefix=/usr/local/sqlite && make && make install #安裝zlib gunzip zlib-1.2.8.tar.gz tar xvf zlib-1.2.8.tar cd zlib-1.2.8 ./configure --prefix=/usr/local/zlib && make && make install #安裝svn cd subversion-1.8.14 ./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite --with-zlib=/usr/local/zlib make && make install #修改環境變量 vi $HOME/.profile export PATH=/usr/local/svn/bin:$PATH #讓環境變量生效 . $HOME/.profile #查看svn是否安裝、配置完成 svn –version 或者svn –help
各文件下載地址參考sql
//svn路徑 http://subversion.apache.org/download/ http://mirror.bit.edu.cn/apache/subversion/ http://mirror.bit.edu.cn/apache/subversion/subversion-1.8.14.tar.gz //apr路徑 http://archive.apache.org/dist/apr/ //apr-util路徑 http://archive.apache.org/dist/apr/apr-1.4.6.tar.gz http://archive.apache.org/dist/apr/apr-util-1.5.1.tar.gz //sqlite路徑 http://www.sqlite.org/download.html http://www.sqlite.org/2015/sqlite-autoconf-3081101.tar.gz //zlib路徑 http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz/download?use_mirror=nchc&download= http://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib-1.2.8.tar.gz?r=http%3A%2F%2Fwww.zlib.net%2F&ts=1438849426&use_mirror=nchc http://sourceforge.net/settings/mirror_choices?projectname=libpng&filename=zlib/1.2.8/zlib-1.2.8.tar.gz