How To Install python-circuits on Ubuntu 18.04

In this tutorial we learn how to install python-circuits on Ubuntu 18.04. python-circuits is event-driven framework with a component architecture

Introduction

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

What is python-circuits

python-circuits is:

circuits is an event-driven framework with a focus on Component Software Architectures where System Functionality is defined in Components. Components communicate with one another by propagating events throughout the system. Each Component can react to events and expose events to other parts of the system Components are able to manage their own events and can also be linked to other Components.

Circuits has a clean architecture and has no external dependencies on any other library. It’s simplistic design is unmatchable but yet delivers a powerful framework for building large, scalable, maintainable applications and systems. Circuits was a core integral part of the pymills library developed in 2006 and was partly inspired by the Trac architecture.

There are three methods to install python-circuits 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-circuits 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-circuits using apt-get by running the following command:

sudo apt-get -y install python-circuits

Install python-circuits Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-circuits

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

sudo aptitude -y install python-circuits

How To Uninstall python-circuits on Ubuntu 18.04

To uninstall only the python-circuits package we can use the following command:

sudo apt-get remove python-circuits

Uninstall python-circuits And Its Dependencies

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

sudo apt-get -y autoremove python-circuits

Remove python-circuits Configurations and Data

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

sudo apt-get -y purge python-circuits

Remove python-circuits configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-circuits

References

Summary

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