Install SVN client on SuSE)

Source: Internet
Author: User

Several SUSE programs have been used recently. SVN should be installed.

Even worse, these machines are all accessed through ssh and cannot connect to the Internet.

It seems difficult, unlike sudo apt-get install subversion in ubuntu.

All the information on the Internet is about how to install svnserve. In fact, server is not required at all.

I checked a lot of methods and found that there was a CollabNet Subversion, but it was too big. I had to install JDK.

Since JDK is to be installed, just install jsvn !! Jsvn also called svnkit,: http://svnkit.com/download.php

Installed below

1. Download and install jdk, see: http://www.blogjava.net/edsonjava/archive/2007/05/17/118119.html

2. Download svnkit in zip Format: http://svnkit.com/download.php.

3. unzip: unzip XXX.zip. My unzip directory is/home/my_username/svnkit-1.3.7

4. Configure environment variables:

First, execute it in the command line (temporarily effective, and the next login disappears)

Export SVNKIT_BASEDIR =/home/my_username/svnkit-1.3.7
Export SVNKIT_LIB = $ SVNKIT_BASEDIR/lib
Export PATH = $ SVNKIT_BASEDIR/bin: $ PATH

To make it automatically configured at the next startup, you also need to edit/etc/profile. The method for editing is similar to that for configuring JDK environment variables.

Add the above three lines at the end of/etc/profile, and save them.

5. Use jsvn

The method is simple, almost the same as svn.

So it's good to be cross-platform.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.