How to Install and Uninstall dh-php Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 26,2024

1. Install "dh-php" package

This tutorial shows how to install dh-php on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install dh-php

2. Uninstall "dh-php" package

This guide let you learn how to uninstall dh-php on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the dh-php package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: dh-php
Priority: extra
Section: php
Installed-Size: 32
Maintainer: Ubuntu Developers
Original-Maintainer: Ondřej Surý
Architecture: all
Version: 0.10
Depends: debhelper, liblist-moreutils-perl, perl
Filename: pool/main/d/dh-php/dh-php_0.10_all.deb
Size: 7262
MD5sum: 36ed9908a034825dba51e17e29c8c250
SHA1: db93d3fce1fcd38a4c64b564bd40bf20c5bdf314
SHA256: 22259e9f7f035352a03888cbc27800f1d39bf16e82b28cc08a3175d20c7ec418
Description-en: 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: 0d9587e964a759486074ebbfd28cbb16
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m