How to Uninstall or Install pm-utils Ubuntu 22.04

Updated: October 14, 2022

This package provides simple shell command line tools to suspend and hibernate your computer. In this guide, I will show you ways to install pm-utils Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install pm-utils on Ubuntu 22.04

Install pm-utils Ubuntu 22.04

pm-utils is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install pm-utils using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get pm-utils on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

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

sudo apt-get install pm-utils

Install pm-utils using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt-get -y install aptitude

After that, you can now install pm-utils by following these steps:

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. Launch the terminal and enter the following Linux command:

sudo apt update

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

sudo aptitude -y install pm-utils

Uninstall pm-utils on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a pm-utils.

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

sudo apt remove --auto-remove pm-utils

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

sudo apt autoremove --purge pm-utils

Summary

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