salt-pepper command not found

In this troubleshooting guide we learn how to fix salt-pepper command not found error message

Introduction

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

salt-pepper: command not found

or when using sudo you get the following error message

sudo: salt-pepper: command not found

Solutions to salt-pepper: command not found

How To Fix salt-pepper: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu salt-pepper is provided by salt-pepper package.

salt-pepper is:

pepperlib abstracts the HTTP calls to salt-api so existing Python projects can easily integrate with a remote Salt installation just by instantiating a class.

The pepper CLI script allows users to execute Salt commands from computers that are external to computers running the salt-master or salt-minion daemons as though they were running Salt locally.

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

sudo apt-get -y install salt-pepper

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

You can also use apt command to install salt-pepper.

sudo apt -y install salt-pepper

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

sudo aptitude install salt-pepper

Summary

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