How To Install supybot on Ubuntu 18.04

In this tutorial we learn how to install supybot on Ubuntu 18.04. supybot is robust and user friendly Python IRC bot

Introduction

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

What is supybot

supybot is:

Supybot is a robust (it doesn’t crash), user friendly (it’s easy to configure) and programmer friendly (plugins are extremely easy to write) Python IRC bot. It aims to be an adequate replacement for most existing IRC bots. It includes a very flexible and powerful ACL system for controlling access to commands, as well as more than 50 builtin plugins providing around 400 actual commands.

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

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

sudo apt-get update

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

sudo apt-get -y install supybot

Install supybot Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install supybot

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

sudo aptitude -y install supybot

How To Uninstall supybot on Ubuntu 18.04

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

sudo apt-get remove supybot

Uninstall supybot And Its Dependencies

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

sudo apt-get -y autoremove supybot

Remove supybot Configurations and Data

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

sudo apt-get -y purge supybot

Remove supybot configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge supybot

References

Summary

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