{
    "mode": "man",
    "parameter": "debconf",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/debconf/1/json",
    "generated": "2026-05-30T06:06:24Z",
    "synopsis": "debconf [options] command [args]",
    "sections": {
        "NAME": {
            "content": "debconf - run a debconf-using program\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "debconf [options] command [args]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Debconf is a configuration system for Debian packages. For a debconf overview and\ndocumentation for sysadmins, see debconf(7) (in the debconf-doc package).\n\nThe debconf program runs a program under debconf's control, setting it up to talk with\ndebconf on stdio. The program's output is expected to be debconf protocol commands, and it is\nexpected to read result codes on stdin. See debconf-devel(7) for details about the debconf\nprotocol.\n\nThe command to be run under debconf must be specified in a way that will let your PATH find\nit.\n\nThis command is not the usual way that debconf is used. It's more typical for debconf to be\nused via dpkg-preconfigure(8) or dpkg-reconfigure(8).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-o --owner=",
                    "content": "Tell debconf what package the command it is running is a part of. This is necessary to\nget ownership of registered questions right, and to support unregister and purge commands\nproperly.\n",
                    "flag": "-o"
                },
                {
                    "name": "-f --frontend=",
                    "content": "Select the frontend to use.\n",
                    "flag": "-f"
                },
                {
                    "name": "-p --priority=",
                    "content": "Specify the minimum priority of question that will be displayed.\n",
                    "flag": "-p"
                },
                {
                    "name": "--terse",
                    "content": "Enables terse output mode. This affects only some frontends.\n",
                    "long": "--terse"
                }
            ]
        },
        "EXAMPLES": {
            "content": "To debug a shell script that uses debconf, you might use:\n\nDEBCONFDEBUG=developer debconf my-shell-prog\n\nOr, you might use this:\n\ndebconf --frontend=readline sh -x my-shell-prog\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "debconf-devel(7), debconf(7)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Joey Hess <joeyh@debian.org>\n\n\n\n2022-02-20                                   DEBCONF(1)",
            "subsections": []
        }
    },
    "summary": "debconf - run a debconf-using program",
    "flags": [
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "Tell debconf what package the command it is running is a part of. This is necessary to get ownership of registered questions right, and to support unregister and purge commands properly."
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": "Select the frontend to use."
        },
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": "Specify the minimum priority of question that will be displayed."
        },
        {
            "flag": "",
            "long": "--terse",
            "arg": null,
            "description": "Enables terse output mode. This affects only some frontends."
        }
    ],
    "examples": [
        "To debug a shell script that uses debconf, you might use:",
        "DEBCONFDEBUG=developer debconf my-shell-prog",
        "Or, you might use this:",
        "debconf --frontend=readline sh -x my-shell-prog"
    ],
    "see_also": [
        {
            "name": "debconf-devel",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/debconf-devel/7/json"
        }
    ]
}