How To Install libmaven-scm-providers-java on Ubuntu 18.04

In this tutorial we learn how to install libmaven-scm-providers-java on Ubuntu 18.04. libmaven-scm-providers-java is Maven SCM - Common API for SCM operations (Providers)

Introduction

In this tutorial we learn how to install libmaven-scm-providers-java on Ubuntu 18.04.

What is libmaven-scm-providers-java

libmaven-scm-providers-java is:

Maven SCM supports Maven 2.x plugins and other tools by providing them with a common API for doing SCM operations. Maven SCM supports the main SCMs such as Subversion, Git, Mercurial, Bazaar, CVS, Perforce and more.

This package contains the providers (maven-scm-provider-*).

There are three methods to install libmaven-scm-providers-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 libmaven-scm-providers-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 libmaven-scm-providers-java using apt-get by running the following command:

sudo apt-get -y install libmaven-scm-providers-java

Install libmaven-scm-providers-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmaven-scm-providers-java

Install libmaven-scm-providers-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 libmaven-scm-providers-java using aptitude by running the following command:

sudo aptitude -y install libmaven-scm-providers-java

How To Uninstall libmaven-scm-providers-java on Ubuntu 18.04

To uninstall only the libmaven-scm-providers-java package we can use the following command:

sudo apt-get remove libmaven-scm-providers-java

Uninstall libmaven-scm-providers-java And Its Dependencies

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

sudo apt-get -y autoremove libmaven-scm-providers-java

Remove libmaven-scm-providers-java Configurations and Data

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

sudo apt-get -y purge libmaven-scm-providers-java

Remove libmaven-scm-providers-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmaven-scm-providers-java

References

Summary

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