How to Install and Uninstall php-dev Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 18,2024

1. Install "php-dev" package

This tutorial shows how to install php-dev on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install php-dev

2. Uninstall "php-dev" package

This tutorial shows how to uninstall php-dev on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the php-dev package on Ubuntu 23.10 (Mantic Minotaur)

Package: php-dev
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19
Depends: php8.2-dev
Filename: pool/main/p/php-defaults/php-dev_8.2+93ubuntu1_all.deb
Size: 4438
MD5sum: 17696643c5b589b10b41ba5cf3464312
SHA1: 87e148ccd856edad7e11c04312b22b5a0bd1adef
SHA256: 15cb1cee7089bb08c347d28ecab0fa7f41be90f2b555fd5abd4f3953879b3611
SHA512: 439f064a00db5a0212d9cafd3062c8969820eca7d241437b849452251243f5400b44c23f494b009ea03589f66577d12cf548b13fb7f4fb32f5b8f90a9869ba79
Description: Files for PHP module development (default)
Description-md5: a4b22e7db87ab8183c5792bfe27ee884