How to Install and Uninstall php-ast Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 14,2024

1. Install "php-ast" package

This is a short guide on how to install php-ast on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install php-ast

2. Uninstall "php-ast" package

Please follow the steps below to uninstall php-ast on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php-ast package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php-ast
Priority: optional
Section: php
Installed-Size: 18
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.1-1+ubuntu22.04.1+deb.sury.org+1
Depends: php8.3-ast
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-ast/php-ast_1.1.1-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 11074
MD5sum: a161d39e2e44421d6d68b51619dd56fa
SHA1: 4eed64e7242abd5c405a1a79e49d2e01e0b1f4b1
SHA256: cffe061d737e551666cca3d03bf5c3de85420b629ae6287d845b51f24cc8e25e
Description: AST extension for PHP 7
Description-md5: 89cc81ee7d797c1bec508656b8b3e63c

Package: php-ast
Architecture: amd64
Version: 1.0.16-4
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-ast
Filename: pool/universe/p/php-ast/php-ast_1.0.16-4_amd64.deb
Size: 9502
MD5sum: fc0ae59681614879b932815cc418ce43
SHA1: e3bd162ebcf31c7f197de253392361a89a3edfd4
SHA256: e3b2a89c9f7916c572ce04549322759c267fda03befa9b85e15dddaaadce69a5
SHA512: 39aff1c0c98f773aca2916e03f15bd2648fbdaa0ea7a1d15eaeea25d875fdb7ea7c75132b6db6c67d076d6ad96124d494bfd087835e7ba0f1e55f756b98d4aea
Homepage: http://pecl.php.net/package/Ast
Description: AST extension for PHP 7
Description-md5: 89cc81ee7d797c1bec508656b8b3e63c