canid command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
canid: command not found
or when using sudo you get the following error message
sudo: canid: command not found
Solutions to canid: command not found
How To Fix canid: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu canid is provided by canid package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install canid
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install canid.
sudo apt -y install canid
Or if you have aptitude installed you can use the following command.
sudo aptitude install canid
Summary
In this tutorial we learn how to fix canid command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.