How to Install and Uninstall wmnut Ubuntu 22.04

Updated: October 10, 2022

WMNUT monitors UPS statistics through the NUT (Network UPS Tools, http://www.networkupstools.org) framework on Linux and other systems. This information, presented in a nice visual format, can be invaluable on stations using an UPS. In this tutorial, I will show you how to install wmnut on Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install wmnut on Ubuntu 22.04

Install wmnut Ubuntu 22.04

wmnut 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 wmnut 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 get wmnut on your Ubuntu.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install wmnut Ubuntu by pasting this command into the terminal and executing it.

sudo apt-get install wmnut

Install wmnut using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After that, you can now install wmnut, 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. 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, you can install wmnut Ubuntu by executing this command in the terminal.

sudo aptitude -y install wmnut

Uninstall wmnut 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 wmnut using APT or Aptitude, you could uninstall wmnut on Ubuntu by running this command

sudo apt remove --auto-remove wmnut

To uninstall wmnut and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge wmnut

Ending

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