How to Install and Uninstall fakeroot-ng Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 09,2024

1. Install "fakeroot-ng" package

This is a short guide on how to install fakeroot-ng on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install fakeroot-ng

2. Uninstall "fakeroot-ng" package

Please follow the steps below to uninstall fakeroot-ng on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove fakeroot-ng $ sudo apt autoclean && sudo apt autoremove

3. Information about the fakeroot-ng package on Ubuntu 21.04 (Hirsute Hippo)

Package: fakeroot-ng
Architecture: amd64
Version: 0.18-4.1
Priority: extra
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Shachar Shemesh
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 158
Depends: libc6 (>= 2.15), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2)
Filename: pool/universe/f/fakeroot-ng/fakeroot-ng_0.18-4.1_amd64.deb
Size: 59780
MD5sum: 3fb307b6da146bf17040498f42a4603a
SHA1: 8889358ca62b41e9b6cb6e861ac4df79d7a6434f
SHA256: 6201c4716a30feedf9bf11e21f50ed04adf9e69552792ab66d86926a63d64e6f
SHA512: e0a37cac73ef25d156ae2d81f41fba5d5ddee2814d400b5f9a40be4054c99fe99869d9ee0e11ce3f6a783f9a5ca203089caf5a1ccd25c0b433c913b7d18230e8
Homepage: http://fakeroot-ng.lingnu.com
Description-en: Gives a fake root environment
This is a clean reimplementation of the fakeroot command. Just like it,
anything run within the fake root command will assume it is running as root.
Unlike it, fakeroot-ng is not based on LD_PRELOAD but on ptrace.
.
The practical upshot of this is that the technology supports intercepting the
"open" system call. In particular, this allows simulating the "chroot" command
reliably.
.
Another important difference is that fakeroot-ng can fool applications that do
not perform system calls through glibc, such as statically linked executables
and programs written in some non-C languages (like the latest Sun JDK).
Description-md5: 7eafa938299f0f29f51b702690fd5b0e