bwrap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bwrap: command not found
or when using sudo you get the following error message
sudo: bwrap: command not found
Solutions to bwrap: command not found
How To Fix bwrap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bwrap is provided by bubblewrap package.
bubblewrap is:
bubblewrap uses Linux namespaces to launch unprivileged containers. These containers can be used to sandbox semi-trusted applications such as Flatpak apps, image/video thumbnailers and web browser components, or to run programs in a different library stack such as a Flatpak runtime or a different Debian release.
By default, this package relies on a kernel with user namespaces enabled. Official Debian and Ubuntu kernels are suitable.
On kernels without user namespaces, system administrators can make the bwrap executable setuid root, allowing it to create unprivileged containers even though ordinary user processes cannot.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bubblewrap
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bubblewrap.
sudo apt -y install bubblewrap
Or if you have aptitude installed you can use the following command.
sudo aptitude install bubblewrap
Summary
In this tutorial we learn how to fix bwrap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.