How To Install libsnmp35 on Ubuntu 20.04

In this tutorial we learn how to install libsnmp35 on Ubuntu 20.04. libsnmp35 is SNMP (Simple Network Management Protocol) library SNMP (Simple Network Management Protocol) library

Introduction

In this tutorial we learn how to install libsnmp35 on Ubuntu 20.04.

What is libsnmp35

libsnmp35 is:

The Simple Network Management Protocol (SNMP) provides a framework for the exchange of management information between agents (servers) and clients.

The Net-SNMP library contains common functions for the construction, sending, receiving, decoding, and manipulation of the SNMP requests and responses. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libsnmp35 Architecture: amd64 Version: 5.8+dfsg-2ubuntu2 Multi-Arch: same Priority: optional Section: libs Source: net-snmp Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Net-SNMP Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3581 Depends: libc6 (>= 2.28), libmysqlclient21 (>= 8.0.11), libpci3 (>= 1:3.5.1), libperl5.30 (>= 5.30.0), libsensors5 (>= 1:3.5.0), libssl1.1 (>= 1.1.0), libwrap0 (>= 7.6-4~), libsnmp-base Filename: pool/main/n/net-snmp/libsnmp35_5.8+dfsg-2ubuntu2_amd64.deb Size: 981380 MD5sum: c943422ba1dfb19ebec6b4808bd0db85 SHA1: 8ca36165360ecb24a203065eaccca2aa5cebae96 SHA256: 5cbd66b50dd7498ddeb4b4bbe25d830e2ae54c926bfbca6642051e78a46fa956 Homepage: http://net-snmp.sourceforge.net/ Description-en: SNMP (Simple Network Management Protocol) library The Simple Network Management Protocol (SNMP) provides a framework for the exchange of management information between agents (servers) and clients.

The Net-SNMP library contains common functions for the construction, sending, receiving, decoding, and manipulation of the SNMP requests and responses. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libsnmp35 on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libsnmp35 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libsnmp35 using apt-get by running the following command:

sudo apt-get -y install libsnmp35

Install libsnmp35 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsnmp35 using apt by running the following command:

sudo apt -y install libsnmp35

Install libsnmp35 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libsnmp35 using aptitude by running the following command:

sudo aptitude -y install libsnmp35

How To Uninstall libsnmp35 on Ubuntu 20.04

To uninstall only the libsnmp35 package we can use the following command:

sudo apt-get remove libsnmp35

Uninstall libsnmp35 And Its Dependencies

To uninstall libsnmp35 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libsnmp35

Remove libsnmp35 Configurations and Data

To remove libsnmp35 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libsnmp35

Remove libsnmp35 configuration, data, and all of its dependencies

We can use the following command to remove libsnmp35 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsnmp35

References

Summary

In this tutorial we learn how to install libsnmp35 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.