linux离线安装svn

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 17:58   2164   0

//1,创建文件夹,上传subversion-1.9.9.tar.gz

mkdir /home/svn

//2,创建文件夹,上传apr-util-1.6.1.tar.gz、apr-1.6.5.tar.tar.gzdependPackage

mkdir /home/svn/dependPackage/

//3,解压文件及依赖文件

cd /home/svn

tar -zxvf subversion-1.9.9.tar.gz

cd /home/svn/dependPackage/

tar -zxvf apr-1.6.5.tar.gz

tar -zxvf apr-util-1.6.1.tar.gz

tar -zxvf expat-2.1.0.tar.gz

unzip sqlite-amalgamation-3071501.zip

tar -zxvf zlib-1.2.11.tar.gz

//4,按照以下顺序编译依赖文件

cd zlib-1.2.11/

./configure

make && make install

//expat被依赖于apr-util

cd expat-2.1.0/

./configure

make && make install

cd apr-1.6.5/

./configure --with-apr=/usr/local/apr

make && make install

cd apr-util-1.6.1/

./configure --with-apr=/usr/local/apr

make && make install

mv sqlite-amalgamation-3071501 ../subversion-1.9.9

修改sqlite-amalgamation-3071501名字为:sqlite-amalgamation

//5,安装subversion

cd /home/svn/subversion-1.9.9/

./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr

cd /home/svn/subversion-1.9.9/

./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr

cd /home/svn/subversion-1.9.9/

make && make install

//6,初始化svn库

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP