How to Install and Uninstall php-psr Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 01,2024

1. Install "php-psr" package

Please follow the step by step instructions below to install php-psr on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-psr

2. Uninstall "php-psr" package

Please follow the guidance below to uninstall php-psr on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-psr package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-psr
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.2.0-4+ubuntu18.04.1+deb.sury.org+10
Depends: php8.1-psr
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-psr/php-psr_1.2.0-4+ubuntu18.04.1+deb.sury.org+10_amd64.deb
Size: 3376
MD5sum: e251772fa3d9c10743b50f8f56e19ee7
SHA1: 32ece6ae7bde27413cc5b833673540fb4656318e
SHA256: 7bc6010323dfcb15922e35f0c95a49764cf3ef93bf19370ef1a97c132ef1212b
Description: PSR interfaces for PHP
Description-md5: fb92eb598c5237eb002f23b4816dfda4