How To Install frr-pythontools on Kali Linux

In this tutorial we learn how to install frr-pythontools on Kali Linux. frr-pythontools is FRRouting suite - Python tools

Introduction

In this tutorial we learn how to install frr-pythontools on Kali Linux.

What is frr-pythontools

frr-pythontools is:

The FRRouting suite uses a small Python tool to provide configuration reload functionality, particularly useful when the interactive configuration shell is not used.

Without this package installed, “reload” (as a systemd or init script invocation) will not work for the FRR daemons.

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

Install frr-pythontools Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install frr-pythontools

Install frr-pythontools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install frr-pythontools

Install frr-pythontools Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install frr-pythontools

How To Uninstall frr-pythontools on Kali Linux

To uninstall only the frr-pythontools package we can use the following command:

sudo apt-get remove frr-pythontools

Uninstall frr-pythontools And Its Dependencies

To uninstall frr-pythontools and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove frr-pythontools

Remove frr-pythontools Configurations and Data

To remove frr-pythontools configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge frr-pythontools

Remove frr-pythontools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge frr-pythontools

Dependencies

frr-pythontools have the following dependencies:

References

Summary

In this tutorial we learn how to install frr-pythontools package on Kali Linux using different package management tools: apt, apt-get and aptitude.