How to Install and Uninstall php-dev Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 26,2024

1. Install "php-dev" package

Please follow the instructions below to install php-dev on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install php-dev

2. Uninstall "php-dev" package

In this section, we are going to explain the necessary steps to uninstall php-dev on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the php-dev package on Ubuntu 24.04 LTS (Noble Numbat)

Package: php-dev
Architecture: all
Version: 2:8.3+93ubuntu2
Priority: optional
Section: php
Source: php-defaults (93ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: php8.3-dev
Filename: pool/main/p/php-defaults/php-dev_8.3+93ubuntu2_all.deb
Size: 4510
MD5sum: e9387bad8a2847a26c353ce6ab91f87c
SHA1: 0921afd7bc58753ba7d8936725c7633351b24cf6
SHA256: dc9a9b1d5701850438fc4c40d0654f15544b91b5ccad5a02e7e301b866d22ce3
SHA512: f9de90f454ec73d029e39cece68119902161e7c8fb87ee5e6ec49bd4622d1860033bbaa1bc5a6c7b3684824b02a90415fbc57ffafa7f7f017f4d058ebda33811
Description: Files for PHP module development (default)
Description-md5: 4840bebad862af7983d39f4b6565265a