How To Install nyx on Debian 10

Learn how to install nyx on Debian 10 with this tutorial. nyx is terminal status monitor for tor

Introduction

In this tutorial we learn how to install nyx on Debian 10.

What is nyx

nyx is:

The anonymizing relay monitor is a terminal status monitor for Tor relays, intended for command-line aficionados, ssh connections, and anyone stuck with a tty terminal. This works much like top does for system usage, providing real time statistics for:

  • bandwidth, cpu, and memory usage
  • relay’s current configuration
  • logged events
  • connection details (ip, hostname, fingerprint, and consensus data)
  • etc.

nyx was previously named tor-arm (which is now a transitional package).

There are three methods to install nyx on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install nyx Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nyx

Install nyx Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nyx using apt by running the following command:

sudo apt -y install nyx

Install nyx 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install nyx using aptitude by running the following command:

sudo aptitude -y install nyx

How To Uninstall nyx on Debian 10

To uninstall only the nyx package we can use the following command:

sudo apt-get remove nyx

Uninstall nyx And Its Dependencies

To uninstall nyx and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove nyx

Remove nyx Configurations and Data

To remove nyx configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge nyx

Remove nyx configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nyx

Dependencies

nyx have the following dependencies:

References

Summary

In this tutorial we learn how to install nyx package on Debian 10 using different package management tools: apt, apt-get and aptitude.