How To Install i2util-tools on Ubuntu 18.04

In this tutorial we learn how to install i2util-tools on Ubuntu 18.04. i2util-tools is Internet2 utility tools

Introduction

In this tutorial we learn how to install i2util-tools on Ubuntu 18.04.

What is i2util-tools

i2util-tools is:

I2utils is a small support library with a set of command line tools needed by several software projects from Internet2, most notably bwctl.

This package contains the command line tools.

There are three methods to install i2util-tools 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 i2util-tools Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install i2util-tools

Install i2util-tools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install i2util-tools

Install i2util-tools 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 i2util-tools using aptitude by running the following command:

sudo aptitude -y install i2util-tools

How To Uninstall i2util-tools on Ubuntu 18.04

To uninstall only the i2util-tools package we can use the following command:

sudo apt-get remove i2util-tools

Uninstall i2util-tools And Its Dependencies

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

sudo apt-get -y autoremove i2util-tools

Remove i2util-tools Configurations and Data

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

sudo apt-get -y purge i2util-tools

Remove i2util-tools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge i2util-tools

References

Summary

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