首页 > 代码库 > Ubuntu环境下安装SVN客户端
Ubuntu环境下安装SVN客户端
1、在Ubuntu环境下安装svn需要一下依赖包
subversion-1.8.10.tar.gz:http://download.csdn.net/detail/luo849278597/8208909
sqlite-amalgamation-3071501.zip:http://download.csdn.net/detail/luo849278597/8208923
m4-1.4.17.tar.gz:http://download.csdn.net/detail/luo849278597/8208927
autoconf-2.69.tar.gz:http://download.csdn.net/detail/luo849278597/8208931
libtool-2.2.6b.tar.gz:http://download.csdn.net/detail/luo849278597/8208933
2、解压subversion-1.8.10.tar.gz、sqlite-amalgamation-3071501.zip、m4-1.4.17.tar.gz、 autoconf-2.69.tar.gz、libtool-2.2.6b.tar.gz到/usr/local/soft下
tar -zxvf subversion-1.8.10.tar.gz m4-1.4.17.tar.gz autoconf-2.69.tar.gz libtool-2.2.6b.tar.gz
unzip sqlite-amalgamation-3071501.zip
3、把解压后的sqlite-amalgamation复制到subversion-1.8.10解压后的包下
sudo mv sqlite-amalgamation-3071501 sqlite-amalgamation
sudo cp sqlite-amalgamation /subversion-1.8.10
4、安装m4-1.4.17
cd m4-1.4.17
./configure --prefix=/usr/local/soft/m4-1.4.17
make && make install
sudo gedit /etc/profile
GUN_M4_HOME=/usr/local/soft/m4-1.4.17 加入到$PATH
5、安装autoconf-2.69
cd autoconf-2.69
./configure --prefix=/usr/local/soft/autoconf-2.69
make && make install
sudo gedit /etc/profile
AUTOCONF_HOME=/usr/local/soft/autoconf-2.69 加入到$PATH6、安装libtool-2.2.6b
./configure --prefix=/usr/local/soft/libtool-2.2.6b
make && make install
sudo gedit /etc/profile
LIBTOOL_HOME=/usr/local/soft/libtool-2.2.6b 加入到$PATH7、安装subversion-1.8.10
./configure --prefix=/usr/local/soft/subversion --with-apxs=/usr/local/soft/http/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
make && make install
Ubuntu环境下安装SVN客户端