How To Install elki-dev on Ubuntu 18.04

In this tutorial we learn how to install elki-dev on Ubuntu 18.04. elki-dev is Data mining algorithm development framework - development files

Introduction

In this tutorial we learn how to install elki-dev on Ubuntu 18.04.

What is elki-dev

elki-dev is:

ELKI: “Environment for Developing KDD-Applications Supported by Index-Structures” is a development framework for data mining algorithms written in Java. It includes a large variety of popular data mining algorithms, distance functions and index structures.

Its focus is particularly on clustering and outlier detection methods, in contrast to many other data mining toolkits that focus on classification. Additionally, it includes support for index structures to improve algorithm performance such as R*-Tree and M-Tree.

The modular architecture is meant to allow adding custom components such as distance functions or algorithms, while being able to reuse the other parts for evaluation.

This package contains the JavaDoc and the source code package.

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

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

sudo apt-get update

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

sudo apt-get -y install elki-dev

Install elki-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elki-dev

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

sudo aptitude -y install elki-dev

How To Uninstall elki-dev on Ubuntu 18.04

To uninstall only the elki-dev package we can use the following command:

sudo apt-get remove elki-dev

Uninstall elki-dev And Its Dependencies

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

sudo apt-get -y autoremove elki-dev

Remove elki-dev Configurations and Data

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

sudo apt-get -y purge elki-dev

Remove elki-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elki-dev

References

Summary

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