procenv command not found

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

Introduction

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

procenv: command not found

or when using sudo you get the following error message

sudo: procenv: command not found

Solutions to procenv: command not found

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

In Ubuntu procenv is provided by procenv package.

procenv is:

This package contains a command-line tool that displays as much detail about itself and its environment as possible. It can be used as a test tool, to understand the type of environment a process runs in, and for comparing system environments.

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

sudo apt-get -y install procenv

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

You can also use apt command to install procenv.

sudo apt -y install procenv

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

sudo aptitude install procenv

Summary

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