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

Last updated: November 22,2024

1. Install "php-amqp" package

This guide let you learn how to install php-amqp on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-amqp

2. Uninstall "php-amqp" package

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

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

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

Package: php-amqp
Priority: optional
Section: php
Installed-Size: 13
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.11.0-4+ubuntu18.04.1+deb.sury.org+10
Depends: php8.1-amqp
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-amqp/php-amqp_1.11.0-4+ubuntu18.04.1+deb.sury.org+10_amd64.deb
Size: 4872
MD5sum: af1a25044545952e1cb8705a0eaccf13
SHA1: 55fed286dea4e10a07bdff721d8b7e7470aae8f1
SHA256: 104a6b37db722ba02602bc1d347e768150794071533187cdfc739659e0edc937
Description: AMQP extension for PHP
Description-md5: 6483326e65870ebb51d95c2121230fb2

Package: php-amqp
Architecture: amd64
Version: 1.7.1-1build2
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: 155
Provides: php7.2-amqp
Depends: php-common (>= 1:7.0+33~), phpapi-20170718, libc6 (>= 2.14), librabbitmq4 (>= 0.6.0)
Filename: pool/universe/p/php-amqp/php-amqp_1.7.1-1build2_amd64.deb
Size: 36692
MD5sum: de219317c5711c7a6c91e28f1c117c20
SHA1: c18491206a71e33d193a099e857078ca1b5dc24e
SHA256: 5e58b751fc1b5441295ec2a26923bb0814e06d798ad5c2f65c8f44fadd7808c9
Homepage: http://pecl.php.net/package/amqp
Description: AMQP extension for PHP
Description-md5: 6483326e65870ebb51d95c2121230fb2