AIX 机器上安装 svn 客户端要比 Linux 主机上yum安装麻烦一些, 下面是安装的全部步骤。特意记载以供参考。
#安装包下载gunzip subversion-1.8.14.tar.gztar xvf subversion-1.8.14.tarcd /usr/local/subversion-1.8.14#如果联网,获取依赖包;如果没有联网,查看依赖包./get-deps.sh#安装aprgunzip apr-1.4.6.tar.gztar xvf apr-1.4.6.tar.gzcd apr./configure && make && make install#安装apr-utilgunzip apr-util-1.5.1.tar.gztar xvf apr-util-1.5.1.tarcd apr-util./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr make && make install#安装sqlitegunzip sqlite-autoconf-3081101.tar.gztar xvf sqlite-autoconf-3081101.tarcd sqlite-autoconf-3081101./configure --prefix=/usr/local/sqlite && make && make install#安装zlibgunzip zlib-1.2.8.tar.gztar xvf zlib-1.2.8.tarcd zlib-1.2.8./configure --prefix=/usr/local/zlib && make && make install#安装svncd 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/zlibmake && make install#修改环境变量vi $HOME/.profileexport PATH=/usr/local/svn/bin:$PATH#让环境变量生效. $HOME/.profile#查看svn是否安装、配置完成svn –version 或者svn –help
各文件下载地址参考
//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.gzhttp://archive.apache.org/dist/apr/apr-util-1.5.1.tar.gz//sqlite路径http://www.sqlite.org/download.htmlhttp://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=nchchttp://sourceforge.net/settings/mirror_choices?projectname=libpng&filename=zlib/1.2.8/zlib-1.2.8.tar.gz