svn installation under linux

To Red Hat Enterprise Linux 5 as an example to explain.

Related series:

jdk installation under linux

ant installation under linux

linux installation under redis

svn installation under linux

Svn version 1.6.1 installed

1. Download svn


Select subversion-1.6.1.tar.gz and subversion-deps-1.6.1.tar.gz

Copy the downloaded package to / usr / local / Under (random, and find a place like)

2. Installation

cd / usr / local /

tar zxvf subversion-1.6.1.tar.gz

tar zxvf subversion-deps-1.6.1.tar.gz # will automatically extract to subversion-1.6.1 under
cd subversion-1.6.1

According to some web information presentation, execute the following command to complete the installation

. / Configure


make install

But in the actual installation process will be, implementation of the. / Configure, depending on the configuration of the system will be different in different error, I am using a new installation of the system, the main configuration is as follows:

 Desktop environment  :GNOME Desktop environment
 Application  : Graphics, graphical Internet  , Editor
 Development   :  Only the choice of development tool
 Server  : The World Wide Web server
 The base system  :java ,X The window system, basic  , Dial-up networking support, and management tools  , System Tools  .
 Language support  : Chinese support  

Then I put my error encountered and solutions as follows:

. / Configure

1 # # errors

configure: error: We require OpenSSL; try - with-openssl


Error need to install openssl, so I installed a openssl, installation is as follows:

cd / usr / local


tar-zxvf openssl-1.0.0a.tar.gz

cd openssl-1.0.0a

. / Config
. / Config-t
make depend
make test
make install

Installed in / usr / local generate a ssl directory under

Set environment variables, in the / etc / profile in the PATH to add the following:

PATH = / usr / local / ssl / bin: / sbin /: $ PATH: / usr / sbin
export PATH

ok, an error prompted a settlement.

Re-run. / Configure

2 # # errors

configure: error: subversion requires zlib


cd / usr / local

tar-xvzf zlib-1.2.5.tar.gz
cd zlib-1.2.5
. / Configure
make install

cd / usr / local

ln-s zlib-1.2.5 zlib

ok, error 2 solution.

Re-run. / Configure, success!

Then execute the following command:


make install

ok, svn installed.

3. Verification

svn - version

There may be prompted as follows:

svn: error while loading shared libraries: / usr/local/serf/lib/ cannot restore segment prot after reloc: Permission denied

At this point you can solve the problem execute the following command:

setenforce permissive

Note: This is the permission configuration issue, on this part can refer to:

Re-implementation of svn - version

[root@localhost local]# svn --version
svn, version 1.6.1 (r37116)
   compiled Jun  9 2010, 17:37:07

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see
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
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

ok, svn configured.

4. Postscript

Overall svn is a little complicated to install, easy to install I use the root user.

Also during the installation process may encounter the following error message:

configure: error: no suitable apr found and configure: error: Subversion requires SQLite

This is because not a member of subversion-deps-1.6.1.tar.gz reasons, subversion-deps-1.6.1.tar.gz includes the installation of some package svn is necessary, note the two versions to download unanimously.

分类:OS 时间:2010-06-09 人气:180
blog comments powered by Disqus


  • Export invalid environment variables defined 2011-02-02

    Recently written a Shell script. Encountered a very strange question. Shell script online many say that defined the environment variable export. But I wrote two scripts. One is the definition of environment variables. Another is the mission. Tasks in the

  • How to decompress zip, tar, tar.gz, tar.bz2 file 2011-02-22

    Over the years, data compression, for us it is very useful. Whether it is a picture in a message sent with the compressed zip file or data file on the server, we can make it easier to download or save disk space effectively. Some compression format a

  • Jdk under Linux jdk installation and setting environment variables 2011-04-09

    We install the Linux system software, we often encounter some system environment variables configuration. What is environment variables? How to customize the environment variables? I will do in the following description. First, what is the environmen

  • linux, unix set, add, delete, script, environment variables 2010-04-28

    #~~~~~~~~~~~~~~~~~~~ New environment variable linux terminal: vi #~~~ As follows: cd / etc FIVE_TWO_ZERO = $ 2 export FIVE_TWO_ZERO if [-f "profile"] then echo "">> profile echo "FIVE_TWO_ZERO = $ FIVE_TWO_ZER ...

  • How to create and extract the Linux zip, tar, tar.gz and tar.bz2 files 2010-08-17

    Data compression for us it is very useful. Whether it is in the message sent pictures with the zip file or compressed data files in Fuwu Qi, we can allow downloads to be more easy or Youxiao the save disk Kong Jian. Sometimes certain compression form

  • Under linux tar gz bz2 tgz z zip file decompression method 2010-02-08

    Under linux tar gz bz2 tgz z zip file decompression method Under linux tar gz bz2 tgz z, and many other methods of extracting compressed files This is to facilitate the collection of the ...

  • Linux tar command (turn) 2011-06-08

    tar command tar files and directories can be created for the files. Use tar, you can create a file for a specific file (backup file), you can also change the file in the file or files to add new files. tar was originally used to create files on tape,

  • I used Linux command of the export - set or display environment variables 2011-08-02

    I used Linux command of the export - set or display environment variables This link: (reproduced please indicate the source) Use Description export command can be used to set or display environment variab

  • Set Oracle environment variables import and export data 2010-06-02

    To import the database to create table spaces and user sqlplus system / password conn / as sysdba create tablespace User datafile 'D: \ Oracle10g \ XXXX. dbf' size 500M; create user User identified by password default tablespace User; grant d ...

  • Java environment variables (Path \ JAVA_HOME \ CLASSPATH) windows under 2010-07-10

    Path =% JAVA_HOME% \ bin; JAVA_HOME = C: \ Program Files \ Java \ jdk1.6.0_21 CLASSPATH =% JAVA_HOME% \ jre6 \ lib; D: \;. Understand: Path: the path of the operating system to execute commands (To any path in the implementation of javac, java will n

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C), All Rights Reserved. 版权所有 黔ICP备15002463号-1

processed in 0.435 (s). 12 q(s)