How To Install elastichosts-utils on Ubuntu 18.04

In this tutorial we learn how to install elastichosts-utils on Ubuntu 18.04. elastichosts-utils is Utilities for interacting with ElasticHosts

Introduction

In this tutorial we learn how to install elastichosts-utils on Ubuntu 18.04.

What is elastichosts-utils

elastichosts-utils is:

ElasticHosts is a cloud computing provider, offering hosted KVM based virtual machines.

This package provides the cli utilities needed to interact with the ElasticHosts API.

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

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

sudo apt-get update

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

sudo apt-get -y install elastichosts-utils

Install elastichosts-utils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elastichosts-utils

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

sudo aptitude -y install elastichosts-utils

How To Uninstall elastichosts-utils on Ubuntu 18.04

To uninstall only the elastichosts-utils package we can use the following command:

sudo apt-get remove elastichosts-utils

Uninstall elastichosts-utils And Its Dependencies

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

sudo apt-get -y autoremove elastichosts-utils

Remove elastichosts-utils Configurations and Data

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

sudo apt-get -y purge elastichosts-utils

Remove elastichosts-utils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elastichosts-utils

References

Summary

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