fakechroot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
fakechroot: command not found
or when using sudo you get the following error message
sudo: fakechroot: command not found
Solutions to fakechroot: command not found
How To Fix fakechroot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fakechroot is provided by fakechroot package.
fakechroot is:
The fakechroot preloads a library which overrides libc functions, so it is possible to use root-specific tools without root privileges.
In fake chroot you can install i.e. Debian bootstrap, create developer’s environment and build packages inside chroot’ed system using standard non-root user account.
To fix this problem, we can install more using the command below.
sudo apt-get -y install fakechroot
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fakechroot.
sudo apt -y install fakechroot
Or if you have aptitude installed you can use the following command.
sudo aptitude install fakechroot
Summary
In this tutorial we learn how to fix fakechroot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.