How To Install php-amqplib on Fedora 36
Introduction
In this tutorial we learn how to install php-amqplib
on Fedora 36.
What is php-amqplib
This library is a pure PHP implementation of the AMQP 0-9-1 protocol [1]. It’s been tested against RabbitMQ [2]. Autoloader [1] http [2] http
We can use yum
or dnf
to install php-amqplib
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-amqplib.
Install php-amqplib on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install php-amqplib
using dnf
by running the following command:
sudo dnf -y install php-amqplib
Install php-amqplib on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-amqplib
using yum
by running the following command:
sudo yum -y install php-amqplib
How To Uninstall php-amqplib on Fedora 36
To uninstall only the php-amqplib
package we can use the following command:
sudo dnf remove php-amqplib
php-amqplib Package Contents on Fedora 36
/usr/share/doc/php-amqplib
/usr/share/doc/php-amqplib/CHANGELOG.md
/usr/share/doc/php-amqplib/CONTRIBUTING.md
/usr/share/doc/php-amqplib/NOTE.DEVELOPMENT.NOV.2011.md
/usr/share/doc/php-amqplib/NOTE.THENETCIRCLE.md
/usr/share/doc/php-amqplib/README.md
/usr/share/doc/php-amqplib/composer.json
/usr/share/licenses/php-amqplib
/usr/share/licenses/php-amqplib/LICENSE
/usr/share/php/PhpAmqpLib
/usr/share/php/PhpAmqpLib/Channel
/usr/share/php/PhpAmqpLib/Channel/AMQPChannel.php
/usr/share/php/PhpAmqpLib/Channel/AbstractChannel.php
/usr/share/php/PhpAmqpLib/Connection
/usr/share/php/PhpAmqpLib/Connection/AMQPLazyConnection.php
/usr/share/php/PhpAmqpLib/Connection/AMQPLazySSLConnection.php
/usr/share/php/PhpAmqpLib/Connection/AMQPLazySocketConnection.php
/usr/share/php/PhpAmqpLib/Connection/AMQPSSLConnection.php
/usr/share/php/PhpAmqpLib/Connection/AMQPSocketConnection.php
/usr/share/php/PhpAmqpLib/Connection/AMQPStreamConnection.php
/usr/share/php/PhpAmqpLib/Connection/AbstractConnection.php
/usr/share/php/PhpAmqpLib/Connection/Heartbeat
/usr/share/php/PhpAmqpLib/Connection/Heartbeat/PCNTLHeartbeatSender.php
/usr/share/php/PhpAmqpLib/Exception
/usr/share/php/PhpAmqpLib/Exception/AMQPBasicCancelException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPChannelClosedException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPConnectionBlockedException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPConnectionClosedException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPDataReadException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPEmptyDeliveryTagException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPExceptionInterface.php
/usr/share/php/PhpAmqpLib/Exception/AMQPHeartbeatMissedException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPIOException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPIOWaitException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPInvalidArgumentException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPInvalidFrameException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPLogicException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPNoDataException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPNotImplementedException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPOutOfBoundsException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPOutOfRangeException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPProtocolChannelException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPProtocolException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPRuntimeException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPSocketException.php
/usr/share/php/PhpAmqpLib/Exception/AMQPTimeoutException.php
/usr/share/php/PhpAmqpLib/Exchange
/usr/share/php/PhpAmqpLib/Exchange/AMQPExchangeType.php
/usr/share/php/PhpAmqpLib/Helper
/usr/share/php/PhpAmqpLib/Helper/Assert.php
/usr/share/php/PhpAmqpLib/Helper/BigInteger.php
/usr/share/php/PhpAmqpLib/Helper/DebugHelper.php
/usr/share/php/PhpAmqpLib/Helper/MiscHelper.php
/usr/share/php/PhpAmqpLib/Helper/Protocol
/usr/share/php/PhpAmqpLib/Helper/Protocol/MethodMap080.php
/usr/share/php/PhpAmqpLib/Helper/Protocol/MethodMap091.php
/usr/share/php/PhpAmqpLib/Helper/Protocol/Protocol080.php
/usr/share/php/PhpAmqpLib/Helper/Protocol/Protocol091.php
/usr/share/php/PhpAmqpLib/Helper/Protocol/Wait080.php
/usr/share/php/PhpAmqpLib/Helper/Protocol/Wait091.php
/usr/share/php/PhpAmqpLib/Helper/SocketConstants.php
/usr/share/php/PhpAmqpLib/Message
/usr/share/php/PhpAmqpLib/Message/AMQPMessage.php
/usr/share/php/PhpAmqpLib/Package.php
/usr/share/php/PhpAmqpLib/Wire
/usr/share/php/PhpAmqpLib/Wire/AMQPAbstractCollection.php
/usr/share/php/PhpAmqpLib/Wire/AMQPArray.php
/usr/share/php/PhpAmqpLib/Wire/AMQPDecimal.php
/usr/share/php/PhpAmqpLib/Wire/AMQPReader.php
/usr/share/php/PhpAmqpLib/Wire/AMQPTable.php
/usr/share/php/PhpAmqpLib/Wire/AMQPWriter.php
/usr/share/php/PhpAmqpLib/Wire/AbstractClient.php
/usr/share/php/PhpAmqpLib/Wire/Constants.php
/usr/share/php/PhpAmqpLib/Wire/Constants080.php
/usr/share/php/PhpAmqpLib/Wire/Constants091.php
/usr/share/php/PhpAmqpLib/Wire/IO
/usr/share/php/PhpAmqpLib/Wire/IO/AbstractIO.php
/usr/share/php/PhpAmqpLib/Wire/IO/SocketIO.php
/usr/share/php/PhpAmqpLib/Wire/IO/StreamIO.php
/usr/share/php/PhpAmqpLib/autoload.php
References
Summary
In this tutorial we learn how to install php-amqplib
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).