proot command not found

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

Introduction

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

proot: command not found

or when using sudo you get the following error message

sudo: proot: command not found

Solutions to proot: command not found

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

In Ubuntu proot is provided by proot package.

proot is:

PRoot is a user-space implementation of chroot, mount –bind, and binfmt_misc.

This means that users don’t need any privileges or setup to do things like using an arbitrary directory as the new root filesystem, making files accessible somewhere else in the filesystem hierarchy, or executing programs built for another CPU architecture transparently through QEMU user-mode.

Also, developers can add their own features or use PRoot as a Linux process instrumentation engine thanks to its extension mechanism.

Technically PRoot relies on ptrace, an unprivileged system-call available in every Linux kernel.

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

sudo apt-get -y install proot

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

You can also use apt command to install proot.

sudo apt -y install proot

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

sudo aptitude install proot

Summary

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