nghttpx command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nghttpx: command not found
or when using sudo you get the following error message
sudo: nghttpx: command not found
Solutions to nghttpx: command not found
How To Fix nghttpx: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nghttpx is provided by nghttp2-proxy package.
nghttp2-proxy is:
This is a standalone server implementing the HTTP/2 protocol with HTTP/1.1 fallback for clients that do not support it. It can be used as a frontend in front of web servers that do not support HTTP/2.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nghttp2-proxy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nghttp2-proxy.
sudo apt -y install nghttp2-proxy
Or if you have aptitude installed you can use the following command.
sudo aptitude install nghttp2-proxy
Summary
In this tutorial we learn how to fix nghttpx command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.