How to Install and Uninstall php-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 26,2024

1. Install "php-dev" package

This tutorial shows how to install php-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-dev

2. Uninstall "php-dev" package

This guide let you learn how to uninstall php-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-dev
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 23
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php8.1-dev
Filename: pool/main/p/php-defaults/php-dev_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7652
MD5sum: 295765300fde053f355767b516334e84
SHA1: ed8c470e6a671bc0f04fec5de14d37815d44ef2e
SHA256: 74ba5cb88c05c7971b6b67d4229b57297ef712cf27e83bb0fec19559a2ed7679
Description: Files for PHP module development (default)
Description-md5: 971ca54340451bd51e3434d658a9b396

Package: php-dev
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php7.2-dev
Filename: pool/main/p/php-defaults/php-dev_7.2+60ubuntu1_all.deb
Size: 3116
MD5sum: ede894047cb929686de91e57b458330d
SHA1: 3458cd26877c9a02829c49018c42992bc671c5b4
SHA256: 2afa28d07caa44f2779ba4db5532f92f023e6bd15dc2d6926db16ba4a2f4746e
Description: Files for PHP module development (default)
Description-md5: eb4cd7b7c4b9e5efdfad340f5b8509f6
Supported: 5y