How to Install and Uninstall php8.1-psr Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 15,2024

1. Install "php8.1-psr" package

This is a short guide on how to install php8.1-psr on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.1-psr" package

This is a short guide on how to uninstall php8.1-psr on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php8.1-psr package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php8.1-psr
Source: php-psr
Priority: optional
Section: php
Installed-Size: 122
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.2.0-5+ubuntu20.04.1+deb.sury.org+2
Replaces: php-psr (<< 1.2.0-5+ubuntu20.04.1+deb.sury.org+2~)
Provides: php-psr
Depends: php8.1-common, phpapi-20210902, libc6 (>= 2.4)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-psr (<< 1.2.0-5+ubuntu20.04.1+deb.sury.org+2~)
Filename: pool/main/p/php-psr/php8.1-psr_1.2.0-5+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 17748
MD5sum: 29138b1c3a536fef26f48200f7c0e844
SHA1: fa6cb19d710613b59e4138c1964cc81c28451803
SHA256: f1fcd64ae41a427797fe9ac651e00e4554a2c0b78fc20b8880874cecf16fc59d
Description: PSR interfaces for PHP
Description-md5: fb92eb598c5237eb002f23b4816dfda4