How to Uninstall or Install libsmi2-common on Ubuntu 22.04

Updated: October 21, 2022

This is just a transitional package to suggest snmp-mibs-downloader which should download needed MIB. You can delete it if you already have snmp-mibs-downloader. In this tutorial, I will show you ways to install libsmi2-common Ubuntu 22.04.

Requirements to install

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install libsmi2-common on Ubuntu 22.04

Install libsmi2-common Ubuntu 22.04

libsmi2-common is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install libsmi2-common using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to install libsmi2-common on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install libsmi2-common Ubuntu by executing this command in the terminal.

sudo apt-get -y install libsmi2-common

Install libsmi2-common using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt install aptitude

After installing aptitude, you can now install libsmi2-common, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. You can now install libsmi2-common Ubuntu by executing this command in the terminal.

sudo aptitude install libsmi2-common

Uninstall libsmi2-common on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed libsmi2-common using APT or Aptitude, you could uninstall libsmi2-common on Ubuntu by running this command

sudo apt remove --auto-remove libsmi2-common

If you want to uninstall libsmi2-common and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge libsmi2-common

Summary

In this tutorial, I showed you ways to install libsmi2-common on Ubuntu 22.04 and some ways to uninstall libsmi2-common too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.