How to Install and Uninstall dh-python Package on Debian 12 (Bookworm)

Last updated: November 26,2024

1. Install "dh-python" package

This tutorial shows how to install dh-python on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install dh-python

2. Uninstall "dh-python" package

Learn how to uninstall dh-python on Debian 12 (Bookworm):

$ sudo apt remove dh-python $ sudo apt autoclean && sudo apt autoremove

3. Information about the dh-python package on Debian 12 (Bookworm)

Package: dh-python
Version: 5.20230130+deb12u1
Installed-Size: 445
Maintainer: Piotr Ożarowski
Architecture: all
Replaces: python2 (<< 2.7.18-2)
Provides: dh-sequence-python3
Depends: python3:any, python3-distutils | python3 (<< 3.6.5~rc1-1)
Suggests: libdpkg-perl, dpkg-dev, flit, python3-build, python3-tomli, python3-installer
Breaks: python2 (<< 2.7.18-2), python3 (<< 3.3.2-4~)
Description: Debian helper tools for packaging Python libraries and applications
Description-md5: cedc6d65bf2b3f4d8daff30004b84b8d
Multi-Arch: foreign
Tag: devel::debian, devel::packaging, implemented-in::python,
interface::commandline, role::plugin, role::program, scope::utility,
works-with::software:source
Section: python
Priority: optional
Filename: pool/main/d/dh-python/dh-python_5.20230130+deb12u1_all.deb
Size: 103744
MD5sum: b5718e614b64095b0a8eee391ecea7ea
SHA256: e7d0826c3ed5820dd699e33e59f6e65ef971bd8ae533af27ccebecea0a5d8f5e