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

Last updated: May 17,2024

1. Install "php8.1-ast" package

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

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

2. Uninstall "php8.1-ast" package

Please follow the steps below to uninstall php8.1-ast on Debian 12 (Bookworm):

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

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

Package: php8.1-ast
Source: php-ast
Version: 1.1.1-1+0~20231125.27+debian12~1.gbp3dadd2
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 84
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-common, libc6 (>= 2.14), phpapi-20210902
Breaks: php-ast (<< 1.1.1-1+0~20231125.27+debian12~1.gbp3dadd2~)
Replaces: php-ast (<< 1.1.1-1+0~20231125.27+debian12~1.gbp3dadd2~)
Provides: php-ast
Homepage: http://pecl.php.net/package/Ast
Priority: optional
Section: php
Filename: pool/main/p/php-ast/php8.1-ast_1.1.1-1+0~20231125.27+debian12~1.gbp3dadd2_amd64.deb
Size: 19676
SHA256: 44688fb643fda2d3076d256b774554001b06e882652fa5e9c3b492a97f2d3cd0
SHA1: 6b4b0a6c886aa5d41764795d7af2e7d4bce27829
MD5sum: 31198c7f5ef8571306ce6a6dac5eda6b
Description: AST extension for PHP 7
This extension exposes the abstract syntax tree generated by PHP 7.
Description-md5: 89cc81ee7d797c1bec508656b8b3e63c