desproxy-socksserver command not found

In this troubleshooting guide we learn how to fix desproxy-socksserver command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

desproxy-socksserver: command not found

or when using sudo you get the following error message

sudo: desproxy-socksserver: command not found

Solutions to desproxy-socksserver: command not found

How To Fix desproxy-socksserver: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu desproxy-socksserver is provided by desproxy package.

desproxy is:

Browsers (in general HTTP clients) use HTTP proxies to request web pages. The proxy forwards those request to the destination server. All the negotiation is done via the HTTP protocol, which is designed just to carry HTTP requests and no generic (TCP/IP) traffic. That is why you can’t (normally) use Internet applications beside your browser if you are behind a HTTP proxy.

That is what desproxy is good for. Desproxy is a TCP tunnel, which means desproxy can forward TCP/IP traffic via a HTTP proxy. Desproxy uses a HTTP/1.1 method (CONNECT) to establish TCP/IP connections on demand. CONNECT is used for SSL connections when accessing to secure sites. So if you can access sites that support SSL (www.hotmail.com for example) you can use desproxy.

To fix this problem, we can install more using the command below.

sudo apt-get -y install desproxy

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install desproxy.

sudo apt -y install desproxy

Or if you have aptitude installed you can use the following command.

sudo aptitude install desproxy

Summary

In this tutorial we learn how to fix desproxy-socksserver command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.