How To Install frr-pythontools on Ubuntu 22.04
Introduction
In this tutorial we learn how to install frr-pythontools
on Ubuntu 22.04.
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 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 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 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 frr-pythontools
using aptitude
by running the following command:
sudo aptitude -y install frr-pythontools
How To Uninstall frr-pythontools on Ubuntu 22.04
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 Ubuntu 22.04, 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 Ubuntu 22.04 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
References
Summary
In this tutorial we learn how to install frr-pythontools
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.