How to Install and Uninstall dh-php Package on Kali Linux

Last updated: May 11,2024

1. Install "dh-php" package

This is a short guide on how to install dh-php on Kali Linux

$ sudo apt update $ sudo apt install dh-php

2. Uninstall "dh-php" package

This guide covers the steps necessary to uninstall dh-php on Kali Linux:

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

3. Information about the dh-php package on Kali Linux

Package: dh-php
Version: 5.4
Installed-Size: 51
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: debhelper, liblist-moreutils-perl, perl, xml2
Size: 14480
SHA256: 5973fba8f4ed25d7403a69f5fadea9a07749bf5c1b11f29f59de050945973e24
SHA1: 7996920b5c9905dc81f2cd3e763b9fcef52c681b
MD5sum: d6e20c84ffc247652190ef50a4f2b6a1
Description: debhelper add-on to handle PHP PECL extensions
dh-php provides a debhelper sequence add-on named 'php' and the
dh_php command.
.
The dh_php command adds the appropriate code to the postinst, prerm
and postrm maint scripts to properly enable/disable PHP PECL
extensions for all available PHP SAPIs.
Description-md5:
Section: php
Priority: optional
Filename: pool/main/d/dh-php/dh-php_5.4_all.deb