How To Install weka-doc on Ubuntu 18.04

In this tutorial we learn how to install weka-doc on Ubuntu 18.04. weka-doc is documentation for the Weka machine learning suite

Introduction

In this tutorial we learn how to install weka-doc on Ubuntu 18.04.

What is weka-doc

weka-doc is:

Weka is a collection of machine learning algorithms in Java that can either be used from the command-line, or called from your own Java code. Weka is also ideally suited for developing new machine learning schemes.

Implemented schemes cover decision tree inducers, rule learners, model tree generators, support vector machines, locally weighted regression, instance-based learning, bagging, boosting, and stacking. Also included are clustering methods, and an association rule learner. Apart from actual learning schemes, Weka also contains a large variety of tools that can be used for pre-processing datasets.

This package contains the documentation.

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

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

sudo apt-get update

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

sudo apt-get -y install weka-doc

Install weka-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install weka-doc

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

sudo aptitude -y install weka-doc

How To Uninstall weka-doc on Ubuntu 18.04

To uninstall only the weka-doc package we can use the following command:

sudo apt-get remove weka-doc

Uninstall weka-doc And Its Dependencies

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

sudo apt-get -y autoremove weka-doc

Remove weka-doc Configurations and Data

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

sudo apt-get -y purge weka-doc

Remove weka-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge weka-doc

References

Summary

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