Two Laptop Bag*
The moose likes Linux / UNIX and the fly likes updating svn to new version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "updating svn to new version" Watch "updating svn to new version" New topic
Author

updating svn to new version

Deepika Saxena
Ranch Hand

Joined: Jul 05, 2009
Posts: 59
Hi,
I am using redhat linux with a old svn client.
whenever i am trying to do the svn operations. i.e commit, update... i was told to update the svn client.
please let me know is there any command available that automatically update the svn client?

Thanks.
--Deepika.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5838
    
    7

First find out the package name by doing:

yum list | grep svn

Then update by running (replacing xxx by the package name):

yum update xxx

But there is a caveat - you might be running the latest svn client available for your version of RHEL. If that is the case, you might have to install the svn client manually from the subversion download site.


JBoss In Action
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16158
    
  21

Actually, there's another caveat - yum isn't standard equipment until RHEL 5, I think. For older releases, you may just have to go to the RHEL updates site, download the RPM and update it manually (via the "rpm -Fvh" command). Actually, RPM can download and install directly, if you provide it with the package's URL.

There aren't separate client and server packages. According to my server, the latest-and-greatest subversion RPM is subversion-1.4.2-4.el5.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: updating svn to new version