How To Install libsvnkit-java on Ubuntu 18.04

In this tutorial we learn how to install libsvnkit-java on Ubuntu 18.04. libsvnkit-java is pure Java Subversion client library

Introduction

In this tutorial we learn how to install libsvnkit-java on Ubuntu 18.04.

What is libsvnkit-java

libsvnkit-java is:

SVNKit provides APIs to work with Subversion repositories and working copies. The SVNKit library features direct repository access as well as support for all high level Subversion operations available via the command-line Subversion client.

There are three methods to install libsvnkit-java on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libsvnkit-java Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libsvnkit-java using apt-get by running the following command:

sudo apt-get -y install libsvnkit-java

Install libsvnkit-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsvnkit-java using apt by running the following command:

sudo apt -y install libsvnkit-java

Install libsvnkit-java Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libsvnkit-java using aptitude by running the following command:

sudo aptitude -y install libsvnkit-java

How To Uninstall libsvnkit-java on Ubuntu 18.04

To uninstall only the libsvnkit-java package we can use the following command:

sudo apt-get remove libsvnkit-java

Uninstall libsvnkit-java And Its Dependencies

To uninstall libsvnkit-java and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libsvnkit-java

Remove libsvnkit-java Configurations and Data

To remove libsvnkit-java configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libsvnkit-java

Remove libsvnkit-java configuration, data, and all of its dependencies

We can use the following command to remove libsvnkit-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsvnkit-java

References

Summary

In this tutorial we learn how to install libsvnkit-java package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.