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

Last updated: December 23,2024

1. Install "php-amqp" package

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

$ sudo apt update $ sudo apt install php-amqp

2. Uninstall "php-amqp" package

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

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

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

Package: php-amqp
Priority: optional
Section: php
Installed-Size: 13
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.1.1-1+ubuntu20.04.1+deb.sury.org+1
Depends: php8.3-amqp
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-amqp/php-amqp_2.1.1-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 4984
MD5sum: 827d9840f7b0db9d17856e589981a3b2
SHA1: 68b530831c691c7c9e6a1dc629ef43afa9158c0d
SHA256: ccad1ed70000a4c523de2a1ff1ac2c887250460db15cc02d78ab18c0e90ea3d2
Description: AMQP extension for PHP
Description-md5: 6483326e65870ebb51d95c2121230fb2

Package: php-amqp
Architecture: amd64
Version: 1.9.4-3ubuntu1
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: 189
Provides: php7.4-amqp
Pre-Depends: php-common (>= 2:69~)
Depends: phpapi-20190902, libc6 (>= 2.14), librabbitmq4 (>= 0.8.0)
Filename: pool/universe/p/php-amqp/php-amqp_1.9.4-3ubuntu1_amd64.deb
Size: 45112
MD5sum: cc31c53c2c417594bd0a2b6178928fcf
SHA1: 0d6994ae412fec229defe6599a947ac55b219cd8
SHA256: 48cb6f6cd2dddc5a7647845921b2cb5685526ed1c3313f8bc02decb60229c21e
Homepage: http://pecl.php.net/package/amqp
Description: AMQP extension for PHP
Description-md5: 6483326e65870ebb51d95c2121230fb2