ndg_httpclient command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ndg_httpclient: command not found
or when using sudo you get the following error message
sudo: ndg_httpclient: command not found
Solutions to ndg_httpclient: command not found
How To Fix ndg_httpclient: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ndg_httpclient is provided by python3-ndg-httpsclient package.
python3-ndg-httpsclient is:
ndg-httpsclient is a HTTPS client implementation for httplib and urllib2 based on PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation over the default provided with Python and importantly enables full verification of the SSL peer.
This is the Python3 package
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-ndg-httpsclient
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-ndg-httpsclient.
sudo apt -y install python3-ndg-httpsclient
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-ndg-httpsclient
Summary
In this tutorial we learn how to fix ndg_httpclient command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.