How to Install and Uninstall php-yaml Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 05,2024

1. Install "php-yaml" package

Please follow the guidelines below to install php-yaml on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-yaml

2. Uninstall "php-yaml" package

Please follow the instructions below to uninstall php-yaml on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-yaml package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-yaml
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.2.3-2+ubuntu20.04.1+deb.sury.org+2
Depends: php8.3-yaml
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-yaml/php-yaml_2.2.3-2+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 3424
MD5sum: 9275fe98f0e6e1b8f84cf3957886e0d0
SHA1: 6c187f0cffb20f5a896154acf09a38da06be8463
SHA256: 76a6a18c7a376a81739512fd63e040307042d2b8a1e0a8d20149a70a2e81944f
Description: YAML-1.1 parser and emitter for PHP
Description-md5: 1bfaf65b64a715c72224ee22bc952860

Package: php-yaml
Architecture: amd64
Version: 2.0.4+1.3.2-2build1
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: 81
Provides: php7.4-yaml
Pre-Depends: php-common (>= 2:69~)
Depends: phpapi-20190902, libc6 (>= 2.14), libyaml-0-2
Filename: pool/universe/p/php-yaml/php-yaml_2.0.4+1.3.2-2build1_amd64.deb
Size: 20360
MD5sum: 553867f61cac6b8996319de51ab2ae76
SHA1: f37cebe8d027890dc4d7ba580db5f3b0f294195a
SHA256: ed98847a2ef7597494277a120d3117ef67ec595533cb5d5f2ff7a526f93d143c
Homepage: http://pecl.php.net/package/Yaml
Description: YAML-1.1 parser and emitter for PHP
Description-md5: 1bfaf65b64a715c72224ee22bc952860