fakeroot

Run a command in an environment faking root privileges for file manipulation. More information: <https://manpages.debian.org/latest/fakeroot/fakeroot.1.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y fakeroot
Ubuntu
RUN apt-get update && \ apt-get install -y fakeroot
Alpine
RUN apk add fakeroot
Arch Arch Linux
RUN pacman -S --noconfirm fakeroot
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y fakeroot
CentOS
RUN yum install -y fakeroot
Fedora
RUN dnf install -y fakeroot
Raspbian
RUN apt-get update && \ apt-get install -y fakeroot
click the source code to copy install fakeroot on any operating system with command-not-found.com