How To Install aoetools on Ubuntu 18.04

In this tutorial we learn how to install aoetools on Ubuntu 18.04. aoetools is tools to assist in using ATA over Ethernet

Introduction

In this tutorial we learn how to install aoetools on Ubuntu 18.04.

What is aoetools

aoetools is:

The aoetools are programs that assist in using ATA over Ethernet. These tools are designed to work with the “aoe” driver for Linux 2.6+ kernels; in fact, this version recommends kernel 2.6.14 or later, as both support up to 16 slots per shelf address.

Systems running Linux 2.4 kernels do not need and should not install the aoetools. The aoe driver for 2.4 kernels is self-sufficient.

There are several tools included in this package:

  • aoecfg - manipulate AoE configuration strings
  • aoe-discover - trigger discovery of ATA over Ethernet devices
  • aoe-flush - flush the down devices out of the aoe driver
  • aoe-interfaces - restrict network interfaces used for AoE
  • aoe-mkdevs - create character and block device files
  • aoe-mkshelf - create block device files for one shelf address
  • aoeping - simple userland communication with AoE devices
  • aoe-revalidate - revalidate the disk size of an AoE device
  • aoe-sancheck - diagnoses MTU and other network issues
  • aoe-stat - print status information for AoE devices
  • aoe-version - print AoE-related software version information
  • coraid-update - upload an update file to a Coraid appliance

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

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

sudo apt-get update

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

sudo apt-get -y install aoetools

Install aoetools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install aoetools using apt by running the following command:

sudo apt -y install aoetools

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

sudo aptitude -y install aoetools

How To Uninstall aoetools on Ubuntu 18.04

To uninstall only the aoetools package we can use the following command:

sudo apt-get remove aoetools

Uninstall aoetools And Its Dependencies

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

sudo apt-get -y autoremove aoetools

Remove aoetools Configurations and Data

To remove aoetools configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge aoetools

Remove aoetools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge aoetools

References

Summary

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