How To Install rpki-trust-anchors on Ubuntu 22.04
Introduction
In this tutorial we learn how to install rpki-trust-anchors
on Ubuntu 22.04.
What is rpki-trust-anchors
rpki-trust-anchors is:
This package contains the RPKI Trust Anchor Locators (TALs), i.e. data which allows software to download and verify the certificates published by the Regional Routing Registries for the purpose of verifying Route Origin Authorisation certificates (ROAs).
There are three methods to install rpki-trust-anchors
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 rpki-trust-anchors Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install rpki-trust-anchors
using apt-get
by running the following command:
sudo apt-get -y install rpki-trust-anchors
Install rpki-trust-anchors Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install rpki-trust-anchors
using apt
by running the following command:
sudo apt -y install rpki-trust-anchors
Install rpki-trust-anchors 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 rpki-trust-anchors
using aptitude
by running the following command:
sudo aptitude -y install rpki-trust-anchors
How To Uninstall rpki-trust-anchors on Ubuntu 22.04
To uninstall only the rpki-trust-anchors
package we can use the following command:
sudo apt-get remove rpki-trust-anchors
Uninstall rpki-trust-anchors And Its Dependencies
To uninstall rpki-trust-anchors
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove rpki-trust-anchors
Remove rpki-trust-anchors Configurations and Data
To remove rpki-trust-anchors
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge rpki-trust-anchors
Remove rpki-trust-anchors configuration, data, and all of its dependencies
We can use the following command to remove rpki-trust-anchors
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge rpki-trust-anchors
References
Summary
In this tutorial we learn how to install rpki-trust-anchors
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.