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

Last updated: May 18,2024

1. Install "php-dev" package

Please follow the guidance below to install php-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-dev

2. Uninstall "php-dev" package

Learn how to uninstall php-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: php-dev
Architecture: all
Version: 1:7.0+35ubuntu6.1
Priority: optional
Section: php
Source: php-defaults (35ubuntu6.1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php7.0-dev
Filename: pool/main/p/php-defaults/php-dev_7.0+35ubuntu6.1_all.deb
Size: 2900
MD5sum: c07a379b52f8a15fde12d16f24b63344
SHA1: 2186678488651f4a0a93f4223d91bdc2e8f1df76
SHA256: 8b9133672e941db8545c331e9075967baac827dcdc7a18c08cc1ab316639fd3a
SHA512: 1f1233d102ad24b2a452576c98257d8edc0aeba5dbe783e2be02ed6eb7f631a9aed4f3e4bf5905698a6959d76d43ad6000ebf6a89823b3bf206ba6db0ba64f23
Description-en: Files for PHP module development (default)
Headers and other PHP needed for compiling additional modules.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 7.0).
Description-md5: 2d6b1b75c2bc9e7747687b6529ae6969
Supported: 5y

Package: php-dev
Priority: optional
Section: php
Installed-Size: 11
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Architecture: all
Source: php-defaults (35ubuntu6)
Version: 1:7.0+35ubuntu6
Depends: php7.0-dev
Filename: pool/main/p/php-defaults/php-dev_7.0+35ubuntu6_all.deb
Size: 2868
MD5sum: eefb27e952858089b17a44a2b033dffa
SHA1: 3154b919395ae8964eeacc4d3d9c95bbf653edbd
SHA256: b10fe40f395d4947775dd3f7f7b26b7be86f98623c2b0393643396a91b2f0381
Description-en: Files for PHP module development (default)
Headers and other PHP needed for compiling additional modules.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 7.0).
Description-md5: 2d6b1b75c2bc9e7747687b6529ae6969
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m