CHDIST(1)

πŸ’– CHDIST πŸ’–

okay bestie, buckle up, this is chdist from the Debian Utilities manual, section 1, and it's literally the cutest way to juggle a whole bunch of distros at once πŸ¦‹


✨ NAME ✨

chdist β€” a script to easily play with several distributions πŸ’…


🌸 SYNOPSIS 🌸

chdist [options] [command] [command parameters]

chdist [options] DIST command [command parameters]

so the second one up there? that syntax kicks in when DIST does not match any of the known commands from the list further down (peep the "COMMANDS" section, it's right there πŸ‘€). when that happens, the command can be, like, any program that exists on your system, and anything that's apt-based will use that DIST's apt data. iconic.


πŸŽ€ DESCRIPTION πŸŽ€

chdist is a rewrite of the thing that used to be called 'MultiDistroTools' (or mdt, for the girlies in a hurry πŸ’–).

what's it for? making 'APT trees' for several distributions at once, so you can check on the status of packages in another distro without messing with chroots. no chroot, no problem, periodt. ✨


πŸ’… OPTIONS πŸ’…

  • -a, --arch ARCH β€” pick your architecture (default: dpkg --print-architecture).
  • -d, --data-dir DIR β€” pick your data directory (default: ~/.chdist/).
  • -h, --help β€” gives you a usage message, bestie 🫢
  • --version β€” shows you the version info.

πŸ‘‘ COMMANDS πŸ‘‘

  • create DIST [URL RELEASE SECTIONS] β€” sets up a brand new tree named DIST 🌱
  • list β€” lists all the available DISTs
  • apt DIST <update|source|show|showsrc|...> β€” runs apt inside DIST
  • apt-get DIST <update|source|...> β€” runs apt-get inside DIST
  • apt-cache DIST <show|showsrc|...> β€” runs apt-cache inside DIST
  • apt-file DIST <update|search|...> β€” runs apt-file inside DIST
  • apt-rdepends DIST [...] β€” runs apt-rdepends inside DIST
  • build-rdeps DIST [...] β€” runs build-rdeps inside DIST. ⚠️ heads up: when the DIST origin and suite/codename are different from your system's origin and suite/codename, you gotta set them yourself using build-rdeps options. no cap.
  • aptitude DIST [...] β€” runs aptitude inside DIST
  • src2bin DIST SRCPKG β€” lists the binary packages for SRCPKG in DIST
  • bin2src DIST BINPKG β€” lists the source package for BINPKG in DIST
  • compare-packages DIST1 DIST2 [DIST3, ...]
  • compare-bin-packages DIST1 DIST2 [DIST3, ...] β€” lists the versions of packages across several DISTributions πŸ”
  • compare-versions DIST1 DIST2
  • compare-bin-versions DIST1 DIST2 β€” same as compare-packages/compare-bin-packages, but it also runs dpkg --compare-versions and shows you where the package is newer πŸ‘€
  • compare-src-bin-packages DIST β€” compares sources and binaries for DIST
  • compare-src-bin-versions DIST β€” same as compare-src-bin-packages, but it also runs dpkg --compare-versions and shows you where the package is newer
  • grep-dctrl-packages DIST [...] β€” runs grep-dctrl on *_Packages inside DIST
  • grep-dctrl-sources DIST [...] β€” runs grep-dctrl on *_Sources inside DIST

this program is copyright 2007 by Lucas Nussbaum and Luk Claes. it comes with ABSOLUTELY NO WARRANTY β€” like, none, zero, nada 😭

it's licensed under the terms of the GPL, either version 2 of the License, or (at your option) any later version. slay.


<div align="center">

πŸ’– that's the whole page, bestie, go forth and distro-hop responsibly πŸ’–

Debian Utilities Β· 2026-09-21 Β· CHDIST(1) β€” mwah, bye πŸŽ€βœ¨

</div>

πŸ“¦ where this page comes from