How to Install and Uninstall php7.2-snmp Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 28,2024

1. Install "php7.2-snmp" package

This is a short guide on how to install php7.2-snmp on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.2-snmp

2. Uninstall "php7.2-snmp" package

This is a short guide on how to uninstall php7.2-snmp on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php7.2-snmp $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-snmp package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.2-snmp
Source: php7.2
Priority: optional
Section: php
Installed-Size: 88
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Recommends: snmp
Provides: php-snmp
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libsnmp35 (>= 5.8+dfsg)
Filename: pool/main/p/php7.2/php7.2-snmp_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 19096
MD5sum: 613e04645e6fee41bd01472a646758e2
SHA1: d139c94f46fa1422ac16f9a1bcd5101b8e6d5f29
SHA256: 7b6c95a67ee405276d5e1bfc714a32125f23f555fded9c4147c533f1ad8a74d7
Description: SNMP module for PHP
Description-md5: 3c57e2b4019dc1d5227529c20c30718a