How To Install torrus-common on Ubuntu 22.04
Introduction
In this tutorial we learn how to install torrus-common
on Ubuntu 22.04.
What is torrus-common
torrus-common is:
Core part of the Torrus suite, providing support files needed by the other Torrus packages. It can be installed directly and used with any FastCGI-compatible webserver package.
Torrus is designed to be a universal front-end framework for Round-Robin Databases using Tobias Oetiker’s RRDtool. It may be configured to collect and monitor arbitrary data series from various data sources which can in turn be displayed on a web page.
One of the traditional applications of this functionality is the collection and visualization of network information using the Simple Network Management Protocol (SNMP) from SNMP-enabled devices.
You will need to install libcrypt-des-perl and libdigest-hmac-perl for SNMPv3 support. SNMP over IPv6-transport is also supported after installing libio-socket-inet6-perl.
Torrus has been formerly known as rrfw, round-robin database framework.
There are three methods to install torrus-common
on Ubuntu 22.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 torrus-common Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install torrus-common
using apt-get
by running the following command:
sudo apt-get -y install torrus-common
Install torrus-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install torrus-common
using apt
by running the following command:
sudo apt -y install torrus-common
Install torrus-common 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 torrus-common
using aptitude
by running the following command:
sudo aptitude -y install torrus-common
How To Uninstall torrus-common on Ubuntu 22.04
To uninstall only the torrus-common
package we can use the following command:
sudo apt-get remove torrus-common
Uninstall torrus-common And Its Dependencies
To uninstall torrus-common
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove torrus-common
Remove torrus-common Configurations and Data
To remove torrus-common
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge torrus-common
Remove torrus-common configuration, data, and all of its dependencies
We can use the following command to remove torrus-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge torrus-common
References
Summary
In this tutorial we learn how to install torrus-common
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.