How to Install and Uninstall php8.1-dev Package on Debian 12 (Bookworm)

Last updated: May 15,2024

1. Install "php8.1-dev" package

Please follow the steps below to install php8.1-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php8.1-dev

2. Uninstall "php8.1-dev" package

In this section, we are going to explain the necessary steps to uninstall php8.1-dev on Debian 12 (Bookworm):

$ sudo apt remove php8.1-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-dev package on Debian 12 (Bookworm)

Package: php8.1-dev
Source: php8.1
Version: 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 5237
Depends: autoconf (>= 2.63), automake (>= 1.11), libpcre2-dev (>= 10.30), libssl-dev, php8.1-cli (>= 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2), php8.1-common (= 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2), pkg-config, shtool, libtool (>= 2.4.6-0.1~)
Recommends: pkg-php-tools
Suggests: dh-php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.1/php8.1-dev_8.1.27-1+0~20231221.58+debian12~1.gbp3895b2_amd64.deb
Size: 489824
SHA256: dd9f86853bfd4078446733ff9e762df3c1a49ef1165588ca72c3eea0d503b3e5
SHA1: 04b91e917a7394a5479b0c69d742ebf214fcede1
MD5sum: a17bf846a8387368b67cbadfa8fff50e
Description: Files for PHP8.1 module development
This package provides the files from the PHP8.1 source 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.
Description-md5: 2751d94959c02abda1a2eed814c9053d