bot-training command not found

In this troubleshooting guide we learn how to fix bot-training command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bot-training: command not found

or when using sudo you get the following error message

sudo: bot-training: command not found

Solutions to bot-training: command not found

How To Fix bot-training: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bot-training is provided by libbot-training-perl package.

libbot-training-perl is:

Markov bots like Hailo and AI::MegaHAL are fun. But to get them working you either need to train them on existing training material or make your own.

Bot::Training provides a pluggable way to install already existing training files via the CPAN. It also comes with a command-line interface called bot-training.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libbot-training-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libbot-training-perl.

sudo apt -y install libbot-training-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libbot-training-perl

Summary

In this tutorial we learn how to fix bot-training command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.