salt-proxy command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
salt-proxy: command not found
or when using sudo you get the following error message
sudo: salt-proxy: command not found
Solutions to salt-proxy: command not found
How To Fix salt-proxy: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu salt-proxy is provided by salt-proxy package.
salt-proxy is:
Proxy minion allows a remote manager to administer devices that are unable to run a minion. salt is a powerful remote execution manager that can be used to administer servers in a fast and efficient way.
It allows commands to be executed across large groups of devices. This means systems can be easily managed, but data can also be easily gathered. Quick introspection into running systems becomes a reality.
Remote execution is usually used to set up a certain state on a remote system. Salt addresses this problem as well, the salt state system uses salt state files to define the state a server needs to be in.
Between the remote execution system, and state management Salt addresses the backbone of cloud and data center management.
This particular package provides the salt proxy minion. It is able to run salt modules and states on remote hosts via a proxy which transmits appropriate commands to devices and replies with the results of said commands.
To fix this problem, we can install more using the command below.
sudo apt-get -y install salt-proxy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install salt-proxy.
sudo apt -y install salt-proxy
Or if you have aptitude installed you can use the following command.
sudo aptitude install salt-proxy
Summary
In this tutorial we learn how to fix salt-proxy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.