Ways to Install and Uninstall wm2 Ubuntu 22.04

Updated: October 10, 2022

wm2 is a window manager for X. It provides an unusual style of window decoration and as little functionality as Chris Cannam feels comfortable with in a window manager. wm2 is not configurable, except by editing the source and recompiling the code, and is really intended for people who don’t particularly want their window manager to be too friendly. I will show you how to install wm2 on Ubuntu 22.04 in this guide.

Software Requirement

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install wm2 on Ubuntu 22.04

Install wm2 Ubuntu 22.04

wm2 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 you believe is simple and easy to follow.

Install wm2 using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get wm2 on your Ubuntu.

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

sudo apt -y update

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

sudo apt-get install wm2

Install wm2 using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

Then, you can now install wm2 by following these steps:

Step 1: The APT package repository cache needs to be updated before you try 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 update

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

sudo aptitude -y install wm2

Uninstall wm2 on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just wm2.

If you installed wm2 using APT or Aptitude, you could uninstall wm2 on Ubuntu by executing this command

sudo apt remove --auto-remove wm2

If you want to uninstall wm2 and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge wm2

Summary

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