How to Uninstall or Install cwm on Ubuntu 22.04

Updated: October 9, 2022

cwm is a minimalist stacking window manager ported from OpenBSD. Originally inspired by evilwm, it was rewritten from scratch due to limitations in the evilwm codebase. In this tutorial, I will show you how to install cwm on Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 is needed for cwm to work
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install cwm on Ubuntu 22.04

Install cwm Ubuntu 22.04

cwm 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 cwm 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 instructions to get cwm 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 fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

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

sudo apt-get -y install cwm

Install cwm using Aptitude

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

sudo apt -y install aptitude

Then, you can now install cwm, just 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 fetch 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. After updating, you can install cwm Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install cwm

Uninstall cwm on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a cwm, can be easily uninstalled by anyone.

You can uninstall cwm on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove cwm

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

sudo apt autoremove --purge cwm

Conclusion

In this guide, I showed you ways to install cwm on Ubuntu 22.04 and some ways to uninstall cwm too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.