How To Install canid on Debian 10

Learn how to install canid on Debian 10 with this tutorial. canid is Caching Additional Network Information Daemon

Introduction

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

What is canid

canid is:

canid the Caching Additional Network Information Daemon provides a simple HTTP API for getting information about Internet names and numbers from a given vantage point.

canid looks up BGP AS number and country code associated with the smallest prefix announced which contains the address in the RIPEstat database. It caches the results by prefix in memory. It returns a JSON object with four keys. It also looks up the IPv4 and IPv6 addresses associated with a given name. It caches the results by name in memory, and precaches prefix results for a subsequent prefix call.

There are three methods to install canid 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 canid Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install canid

Install canid Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install canid

Install canid 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 canid using aptitude by running the following command:

sudo aptitude -y install canid

How To Uninstall canid on Debian 10

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

sudo apt-get remove canid

Uninstall canid And Its Dependencies

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

sudo apt-get -y autoremove canid

Remove canid Configurations and Data

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

sudo apt-get -y purge canid

Remove canid configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge canid

Dependencies

canid have the following dependencies:

References

Summary

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