How To Install linux-user-chroot on Fedora 36
Introduction
In this tutorial we learn how to install linux-user-chroot
on Fedora 36.
What is linux-user-chroot
A tool made for build systems that run as non-root, offering chroot(2) and Linux container features to non-root users. Only install this on systems for which local, authenticated denial of service attacks are not a serious concern.
We can use yum
or dnf
to install linux-user-chroot
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install linux-user-chroot.
Install linux-user-chroot on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install linux-user-chroot
using dnf
by running the following command:
sudo dnf -y install linux-user-chroot
Install linux-user-chroot on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install linux-user-chroot
using yum
by running the following command:
sudo yum -y install linux-user-chroot
How To Uninstall linux-user-chroot on Fedora 36
To uninstall only the linux-user-chroot
package we can use the following command:
sudo dnf remove linux-user-chroot
linux-user-chroot Package Contents on Fedora 36
/usr/bin/linux-user-chroot
/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/8a97485a83f93ec5f9dd63ffbd25836f7c69ad
/usr/share/man/man8/linux-user-chroot.8.gz
References
Summary
In this tutorial we learn how to install linux-user-chroot
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).