How to Install and Uninstall fakechroot Package on openSUSE Leap

Last updated: November 07,2024

1. Install "fakechroot" package

Please follow the instructions below to install fakechroot on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install fakechroot

2. Uninstall "fakechroot" package

Please follow the guidance below to uninstall fakechroot on openSUSE Leap:

$ sudo zypper remove fakechroot

3. Information about the fakechroot package on openSUSE Leap

Information for package fakechroot:
-----------------------------------
Repository : Main Repository
Name : fakechroot
Version : 2.20.1-bp155.2.10
Arch : x86_64
Vendor : openSUSE
Installed Size : 201.0 KiB
Installed : No
Status : not installed
Source package : fakechroot-2.20.1-bp155.2.10.src
Upstream URL : https://github.com/dex4er/fakechroot/wiki
Summary : Preloadable library for a fake chroot environment
Description :
fakechroot runs a command in an environment where it is possible to use the
chroot(8) command without root privileges. This is useful for allowing users to
create own chrooted environments with the possibility to install other packages
without the need for root privileges.
fakechroot does this by replacing some libc library functions (chroot(2),
open(2), etc.) by ones that simulate the effect of being called with root
privileges.
These wrapper functions are in a shared library called libfakechroot.so, which
can be loaded through the LD_PRELOAD mechanism of the dynamic loader.