How to Install or Uninstall i3-wm on Ubuntu 22.04

Updated: October 29, 2022

Key features of i3 are good documentation, reasonable defaults (changeable in a simple configuration file) and good multi-monitor support. The user interface is designed for power users and emphasizes keyboard usage. i3 uses XCB for asynchronous communication with X11 and aims to be fast and light-weight. I will show you how to install i3-wm on Ubuntu 22.04 in this tutorial.

Requirements to install

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Check that you can run sudo commands.

Prerequisites to install i3-wm on Ubuntu 22.04

Install i3-wm Ubuntu 22.04

i3-wm 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 i3-wm 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 install i3-wm 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-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install i3-wm Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get -y install i3-wm

Install i3-wm 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. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get -y install aptitude

After that, you can now install i3-wm, 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. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install i3-wm Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install i3-wm

Uninstall i3-wm on Ubuntu 22.04

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

You can uninstall i3-wm Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove i3-wm

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

sudo apt autoremove --purge i3-wm

Ending

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