How to Install and Uninstall php-snmp.x86_64 Package on Amazon Linux 2

Last updated: January 10,2025

1. Install "php-snmp.x86_64" package

Learn how to install php-snmp.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install php-snmp.x86_64

2. Uninstall "php-snmp.x86_64" package

Please follow the steps below to uninstall php-snmp.x86_64 on Amazon Linux 2:

$ sudo yum remove php-snmp.x86_64 $ sudo yum autoremove

3. Information about the php-snmp.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : php-snmp
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 72 k
Repo : amzn2extra-php7.4/2/x86_64
Summary : A module for PHP applications that query SNMP-managed devices
URL : http://www.php.net/
License : PHP
Description : The php-snmp package contains a dynamic shared object that will
: add support for querying SNMP devices to PHP. PHP is an
: HTML-embeddable scripting language. If you need SNMP support for
: PHP applications, you will need to install this package and the
: php package.