[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Installing two subversion release on the same machine

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 17 Mar 2010 15:35:49 +0100

On Wed, Mar 17, 2010 at 02:46:47PM +0100, Emiliano.MONACO_at_eu.steria.be wrote:
> Hallo,
>
> I'm new comer in Subversion users mailing list and I want post my first
> question:
> I have Subversion 1.4.5 release up and running over a Linux CentOS
> machine. Due to I would like to upgrade Subversion to 1.6.9 release, I
> would like to know if it is possible to install two Subversion release on
> the same machine without performing upgrade of the old one.

It's possible. Just make sure to install both into a different prefix.
E.g. if you build from source, install both into separate prefixes:
For 1.4.5:
  ./configure --prefix=/usr/local/svn-1.4.5
For 1.6.9:
  ./configure --prefix=/usr/local/svn-1.6.9

E.g. on my system I currently have two svn trunk builds, and one 1.5.x
build (the branch from which the next 1.5 release will be made, if ever)
and one svn-1.6.x build (the branch from which the next 1.6 release will
be made) installed in my home directory:

$ ls ~/svn/prefix
apr/ httpd/ serf/ svn-1.5.x/ svn-trunk/
bdb/ neon/ sqlite/ svn-1.6.x/ svn-trunk2/
$ which svn
/home/stsp/svn/prefix/svn-trunk/bin/svn

If you use binary packages, the content of binary packages will probably
overlap, e.g. both trying to install /usr/bin/svn. In this case you cannot
install both at the same time (unless there is a way to install an RPM into
a different directory than the root directory '/' -- I don't know if
that's possible).

Stefan
Received on 2010-03-17 15:36:21 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.