How To Install python-moksha.hub on Ubuntu 18.04

In this tutorial we learn how to install python-moksha.hub on Ubuntu 18.04. python-moksha.hub is Hub components for the Moksha framework

Introduction

In this tutorial we learn how to install python-moksha.hub on Ubuntu 18.04.

What is python-moksha.hub

python-moksha.hub is:

Moksha is a combination of Web framework and messaging hub that is written on top of widely-used and tested components such as Twisted, 0mq or TurboGears.

This package provides the messaging hub.

There are three methods to install python-moksha.hub 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 python-moksha.hub Using apt-get

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

sudo apt-get update

After updating apt database, We can install python-moksha.hub using apt-get by running the following command:

sudo apt-get -y install python-moksha.hub

Install python-moksha.hub Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-moksha.hub using apt by running the following command:

sudo apt -y install python-moksha.hub

Install python-moksha.hub 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 python-moksha.hub using aptitude by running the following command:

sudo aptitude -y install python-moksha.hub

How To Uninstall python-moksha.hub on Ubuntu 18.04

To uninstall only the python-moksha.hub package we can use the following command:

sudo apt-get remove python-moksha.hub

Uninstall python-moksha.hub And Its Dependencies

To uninstall python-moksha.hub and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-moksha.hub

Remove python-moksha.hub Configurations and Data

To remove python-moksha.hub configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-moksha.hub

Remove python-moksha.hub configuration, data, and all of its dependencies

We can use the following command to remove python-moksha.hub configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-moksha.hub

References

Summary

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