envstore command not found

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

Introduction

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

envstore: command not found

or when using sudo you get the following error message

sudo: envstore: command not found

Solutions to envstore: command not found

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

In Ubuntu envstore is provided by envstore package.

envstore is:

envstore allows you to save environment variables into a separate store, list them, and reload them into the (other) shell again. It therefore provides a way to share them in cases where exporting to child processes is not feasible.

Included is envify, a shell script which loads the environment saved with envstore and then executes the command given to it.

A classic use case is MPD_HOST for clients of the Music Player Daemon. Commands to control the MPD would be wrapped with envify. If the MPD_HOST were then changed in envstore, it would automatically be used.

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

sudo apt-get -y install envstore

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

You can also use apt command to install envstore.

sudo apt -y install envstore

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

sudo aptitude install envstore

Summary

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