proxy command not found

In this troubleshooting guide we learn how to fix proxy command not found error message

Introduction

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

proxy: command not found

or when using sudo you get the following error message

sudo: proxy: command not found

Solutions to proxy: command not found

How To Fix proxy: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu proxy is provided by libproxy-tools package.

libproxy-tools is:

libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API.

This package contains a program to interact with libproxy from the command line.

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

sudo apt-get -y install libproxy-tools

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

You can also use apt command to install libproxy-tools.

sudo apt -y install libproxy-tools

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

sudo aptitude install libproxy-tools

Summary

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