idn command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
idn: command not found
or when using sudo you get the following error message
sudo: idn: command not found
Solutions to idn: command not found
How To Fix idn: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu idn is provided by idn package.
idn is:
GNU Libidn is a fully documented implementation of the Stringprep, Punycode and IDNA specifications. Libidn’s purpose is to encode and decode internationalized domain names. The Nameprep, XMPP, SASLprep, and iSCSI profiles are supported.
This package contains the idn command-line tool, and the Libidn manual.
To fix this problem, we can install more using the command below.
sudo apt-get -y install idn
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install idn.
sudo apt -y install idn
Or if you have aptitude installed you can use the following command.
sudo aptitude install idn
Summary
In this tutorial we learn how to fix idn command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.