How To Install tango-db on Ubuntu 18.04

In this tutorial we learn how to install tango-db on Ubuntu 18.04. tango-db is TANGO distributed control system - database server

Introduction

In this tutorial we learn how to install tango-db on Ubuntu 18.04.

What is tango-db

tango-db is:

TANGO is an object oriented distributed control system. It allows communication between TANGO device processes running on the same computer or distributed over the network. These processes can provide services to the control system all over the network, such as hardware control or data processing.

This package provides a TANGO database server using MySQL/MariaDB.

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

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

sudo apt-get update

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

sudo apt-get -y install tango-db

Install tango-db Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tango-db

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

sudo aptitude -y install tango-db

How To Uninstall tango-db on Ubuntu 18.04

To uninstall only the tango-db package we can use the following command:

sudo apt-get remove tango-db

Uninstall tango-db And Its Dependencies

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

sudo apt-get -y autoremove tango-db

Remove tango-db Configurations and Data

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

sudo apt-get -y purge tango-db

Remove tango-db configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tango-db

References

Summary

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