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

Last updated: December 24,2024

1. Install "dh-php" package

Here is a brief guide to show you how to install dh-php on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install dh-php

2. Uninstall "dh-php" package

This is a short guide on how to uninstall dh-php on Debian 12 (Bookworm):

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

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

Package: dh-php
Version: 5.4+0~20240121.23+debian12~1.gbp3501b2
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 52
Depends: debhelper, liblist-moreutils-perl, perl, xml2
Priority: optional
Section: php
Filename: pool/main/d/dh-php/dh-php_5.4+0~20240121.23+debian12~1.gbp3501b2_all.deb
Size: 15600
SHA256: dc8f44bcd8c17b114d6485152af705c234b91c94479691e68ae3873d9ad52e36
SHA1: 3903cb8d2ed2c1505605bd4f3e20beabb3ccd0a0
MD5sum: 74e97a79c33a63b5aa46066316497c9e
Description: debhelper add-on to handle PHP PECL extensions
Description-md5: 0d9587e964a759486074ebbfd28cbb16

Package: dh-php
Version: 5.2
Installed-Size: 52
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: debhelper, liblist-moreutils-perl, perl, xml2
Description: debhelper add-on to handle PHP PECL extensions
Description-md5: 0d9587e964a759486074ebbfd28cbb16
Section: php
Priority: optional
Filename: pool/main/d/dh-php/dh-php_5.2_all.deb
Size: 15376
MD5sum: b4895fd3830577ca48480758bd45e3e4
SHA256: f3c7d95c6f41d1ef539649b4e4f10c2e4fe67bb1f934fe2c024e66f299d0329c