{
    "mode": "man",
    "parameter": "chdist",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/chdist/1/json",
    "generated": "2026-06-14T13:04:11Z",
    "synopsis": "chdist [options] [command] [command parameters]",
    "sections": {
        "NAME": {
            "content": "chdist - script to easily play with several distributions\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "chdist [options] [command] [command parameters]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "chdist is a rewrite of what used to be known as 'MultiDistroTools' (or mdt). Its use is to\ncreate 'APT trees' for several distributions, making it easy to query the status of packages\nin other distribution without using chroots, for instance.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "Provide a usage message.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-d --data-dir",
                    "content": "Choose data directory (default: ~/.chdist/).\n",
                    "flag": "-d",
                    "long": "--data-dir"
                },
                {
                    "name": "-a --arch",
                    "content": "Choose architecture (default: `dpkg --print-architecture`).\n",
                    "flag": "-a",
                    "long": "--arch"
                },
                {
                    "name": "--version",
                    "content": "Display version information.\n",
                    "long": "--version"
                }
            ]
        },
        "COMMANDS": {
            "content": "create DIST [URL RELEASE SECTIONS]\nPrepare a new tree named DIST\n\napt DIST <update|source|show|showsrc|...>\nRun apt inside DIST\n\napt-get DIST <update|source|...>\nRun apt-get inside DIST\n\napt-cache DIST <show|showsrc|...>\nRun apt-cache inside DIST\n\napt-file DIST <update|search|...>\nRun apt-file inside DIST\n\napt-rdepends DIST [...]\nRun apt-rdepends inside DIST\n\naptitude DIST [...]\nRun aptitude inside DIST\n\nsrc2bin DIST SRCPKG\nList binary packages for SRCPKG in DIST\n\nbin2src DIST BINPKG\nList source package for BINPKG in DIST\n\ncompare-packages DIST1 DIST2 [DIST3, ...]\ncompare-bin-packages DIST1 DIST2 [DIST3, ...]\nList versions of packages in several DISTributions\n\ncompare-versions DIST1 DIST2\ncompare-bin-versions DIST1 DIST2\nSame as compare-packages/compare-bin-packages, but also runs dpkg --compare-versions and\ndisplay where the package is newer.\n\ncompare-src-bin-packages DIST\nCompare sources and binaries for DIST\n\ncompare-src-bin-versions DIST\nSame as compare-src-bin-packages, but also run dpkg --compare-versions and display where\nthe package is newer\n\ngrep-dctrl-packages DIST [...]\nRun grep-dctrl on *Packages inside DIST\n\ngrep-dctrl-sources DIST [...]\nRun grep-dctrl on *Sources inside DIST\n",
            "subsections": [
                {
                    "name": "list",
                    "content": "List available DISTs\n"
                }
            ]
        },
        "COPYRIGHT": {
            "content": "This program is copyright 2007 by Lucas Nussbaum and Luk Claes. This program comes with\nABSOLUTELY NO WARRANTY.\n\nIt is licensed under the terms of the GPL, either version 2 of the License, or (at your\noption) any later version.\n\n\n\nDebian Utilities                             2026-03-04                                    CHDIST(1)",
            "subsections": []
        }
    },
    "summary": "chdist - script to easily play with several distributions",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Provide a usage message."
        },
        {
            "flag": "-d",
            "long": "--data-dir",
            "arg": null,
            "description": "Choose data directory (default: ~/.chdist/)."
        },
        {
            "flag": "-a",
            "long": "--arch",
            "arg": null,
            "description": "Choose architecture (default: `dpkg --print-architecture`)."
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "Display version information."
        }
    ],
    "examples": [],
    "see_also": []
}