How to Install and Uninstall dchroot Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 10,2024

1. Install "dchroot" package

Please follow the guidelines below to install dchroot on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install dchroot

2. Uninstall "dchroot" package

Please follow the guidance below to uninstall dchroot on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove dchroot $ sudo apt autoclean && sudo apt autoremove

3. Information about the dchroot package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: dchroot
Priority: optional
Section: universe/admin
Installed-Size: 1388
Maintainer: Ubuntu Developers
Original-Maintainer: Debian buildd-tools Developers
Architecture: amd64
Source: schroot
Version: 1.6.10-1ubuntu3
Depends: libboost-filesystem1.58.0, libboost-iostreams1.58.0, libboost-program-options1.58.0, libboost-system1.58.0, libc6 (>= 2.14), libgcc1 (>= 1:3.0), libpam0g (>= 0.99.7.1), libstdc++6 (>= 5.2), libuuid1 (>= 2.16), schroot (= 1.6.10-1ubuntu3), schroot-common (= 1.6.10-1ubuntu3)
Suggests: debootstrap
Filename: pool/universe/s/schroot/dchroot_1.6.10-1ubuntu3_amd64.deb
Size: 353920
MD5sum: 7803a9ac3d480d4124cc77b59f2d9a85
SHA1: 97632b2ab1d042e3de1ce3fb57d9b57e330748c5
SHA256: 1c0ee56e1c397ddfe28dfbb9617ffbf9b200f77055021b60f4c2a4d90d35da2e
Description-en: Execute commands in a chroot environment
dchroot allows users to execute commands or interactive shells in
different chroots. A typical installation might provide 'stable',
'testing' and 'unstable' chroots. Users can move between chroots as
necessary.
.
NOTE: the schroot package provides a better implementation of
dchroot. In particular:
* dchroot quoting issues are not present. dchroot runs commands in
the chroot with -c option of the user's default shell; when
multiple command options are used, the options are concatenated
together, separated by spaces. This concatenation breaks shell
quoting.
* schroot implements fine-grained access controls based on users
and groups, either of which may be granted the ability to gain
root access to the chroot if required.
Using schroot will avoid these issues, as well as provide additional
functionality dchroot does not possess.
Description-md5: 1c3c5fa410a563eef041e2880c4a90e8
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu