Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my linux box (oneiric, 64bit) I'm running Eclipse and java straight from the Eclipse/Oracle tarballs. I'd like to install the javaHL subversion libraries, which according to the subclipse wiki are packaged in the libsvn-java package, but if I do an

apt-get install libjava-svn

apt-get will pull down all sorts of dependencies related to openjdk, which I don't really care for. I'm not that familiar with apt-get too. Is there a way around this? Can I just install the shared libraries, without all the other stuff?

share|improve this question

download the lib-svn source package and build manually, in that case it wont download all dependecies by itself and you can avoid openjdk stuff.

Check this article on how to compile svn from sources

share|improve this answer

According to this article I can just download the deb package and extract the files in the right location. In my case that's just

cp $WHERE_I_EXTRACTED_THE_DEB/CONTENT/usr/lib/jni/* $JAVA_HOME/jre/lib/amd64

and no need to tell java where to look for libraries.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.