How To Install python-txosc on Ubuntu 18.04

In this tutorial we learn how to install python-txosc on Ubuntu 18.04. python-txosc is Open Sound Control (OSC) protocol for Twisted

Introduction

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

What is python-txosc

python-txosc is:

Open Sound Control (OSC) is an open, transport-independent, message-based protocol developed for communication among computers, sound synthesizers, and other multimedia devices.

This library implements OSC version 1.1 over both UDP and TCP for the Twisted Python framework.

Twisted is an event-based framework for internet applications which works on Python 2.3 through 2.6.

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

sudo apt-get -y install python-txosc

Install python-txosc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-txosc

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

sudo aptitude -y install python-txosc

How To Uninstall python-txosc on Ubuntu 18.04

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

sudo apt-get remove python-txosc

Uninstall python-txosc And Its Dependencies

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

sudo apt-get -y autoremove python-txosc

Remove python-txosc Configurations and Data

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

sudo apt-get -y purge python-txosc

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

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

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

References

Summary

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