How to Install and Uninstall php7.2-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 26,2024

1. Install "php7.2-dev" package

In this section, we are going to explain the necessary steps to install php7.2-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.2-dev

2. Uninstall "php7.2-dev" package

This guide covers the steps necessary to uninstall php7.2-dev on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php7.2-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.2-dev
Source: php7.2
Priority: optional
Section: php
Installed-Size: 4852
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Recommends: pkg-php-tools
Suggests: dh-php
Depends: autoconf (>= 2.63), automake (>= 1.11), libpcre3-dev (>= 2:8.35), libssl-dev, php7.2-cli (>= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), pkg-config, shtool, libtool (>= 2.4.6-0.1~)
Filename: pool/main/p/php7.2/php7.2-dev_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 419212
MD5sum: 0268b0e4031799db6a6cf72b556f37bf
SHA1: 203e3a8b81c2ac6e9a41ca3b831c53c6a9852c36
SHA256: ce85cafbbc214d51aeab1c0c9d39f230ba182d370e3f2275f3fba9c7b92c01b9
Description: Files for PHP7.2 module development
Description-md5: fa357415ff4fcefde4e05170a1defdf7