How To Install ivy-debian-helper on Ubuntu 18.04

In this tutorial we learn how to install ivy-debian-helper on Ubuntu 18.04. ivy-debian-helper is Helper tools for building Debian packages with Ivy

Introduction

In this tutorial we learn how to install ivy-debian-helper on Ubuntu 18.04.

What is ivy-debian-helper

ivy-debian-helper is:

ivy-debian-helper contains helper tools to ease the packaging of Ivy based projects in Debian. It consists in:

  • an Ivy plugin resolving the dependencies against the system Maven repository (/usr/share/maven-repo). The resolver uses the same Maven rule files that maven-debian-helper and maven-repo-helper employ (debian/maven.rules, debian/maven.ignoreRules).
  • a debhelper class initializing the plugin and running Ant+Ivy in offline mode.

There are three methods to install ivy-debian-helper 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 ivy-debian-helper Using apt-get

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

sudo apt-get update

After updating apt database, We can install ivy-debian-helper using apt-get by running the following command:

sudo apt-get -y install ivy-debian-helper

Install ivy-debian-helper Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ivy-debian-helper using apt by running the following command:

sudo apt -y install ivy-debian-helper

Install ivy-debian-helper 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 ivy-debian-helper using aptitude by running the following command:

sudo aptitude -y install ivy-debian-helper

How To Uninstall ivy-debian-helper on Ubuntu 18.04

To uninstall only the ivy-debian-helper package we can use the following command:

sudo apt-get remove ivy-debian-helper

Uninstall ivy-debian-helper And Its Dependencies

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

sudo apt-get -y autoremove ivy-debian-helper

Remove ivy-debian-helper Configurations and Data

To remove ivy-debian-helper configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ivy-debian-helper

Remove ivy-debian-helper configuration, data, and all of its dependencies

We can use the following command to remove ivy-debian-helper configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ivy-debian-helper

References

Summary

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