How To Install i3 on Fedora 34

i3 is Improved tiling window manager

Introduction

In this tutorial we learn how to install i3 on Fedora 34.

What is i3

Key features of i3 are correct implementation of XrandR, horizontal and vertical columns (think of a table) in tiling. Also, special focus is on writing clean, readable and well documented code. i3 uses xcb for asynchronous communication with X11, and has several measures to be very fast. Please be aware that i3 is primarily targeted at advanced users and developers.

We can use yum or dnf to install i3 on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install i3.

Install i3 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install i3 using dnf by running the following command:

sudo dnf -y install i3

Install i3 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install i3 using yum by running the following command:

sudo yum -y install i3

How To Uninstall i3 on Fedora 34

To uninstall only the i3 package we can use the following command:

sudo dnf remove i3

i3 Package Contents on Fedora 34

/etc/i3
/etc/i3/config
/etc/i3/config.keycodes
/usr/bin/i3
/usr/bin/i3-config-wizard
/usr/bin/i3-dmenu-desktop
/usr/bin/i3-dump-log
/usr/bin/i3-input
/usr/bin/i3-migrate-config-to-v4
/usr/bin/i3-msg
/usr/bin/i3-nagbar
/usr/bin/i3-save-tree
/usr/bin/i3-sensible-editor
/usr/bin/i3-sensible-pager
/usr/bin/i3-sensible-terminal
/usr/bin/i3-with-shmlog
/usr/bin/i3bar
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/eae2c00575232d69110cb68875c2769fb39935
/usr/lib/.build-id/57
/usr/lib/.build-id/57/fbb036e1ff7e69702a1da4b11f5f1fa5c8a4fc
/usr/lib/.build-id/67
/usr/lib/.build-id/67/9c98d78f728faae600cbc3bfc544eecdad7fdd
/usr/lib/.build-id/82
/usr/lib/.build-id/82/ef4e4f66f98cd60f0fc9079959a946a8557bba
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/ca8b03039a88d746ef524b48c3992828af9f0c
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/0ddb18a367836e7e9dd7614d8d22de8f222e53
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/e666095a8e96ec6dd4a7c2613364e15a9af51b
/usr/share/applications/i3.desktop
/usr/share/doc/i3/RELEASE-NOTES-4.19.2
/usr/share/licenses/i3
/usr/share/licenses/i3/LICENSE
/usr/share/man/man1/i3-config-wizard.1.gz
/usr/share/man/man1/i3-dmenu-desktop.1.gz
/usr/share/man/man1/i3-dump-log.1.gz
/usr/share/man/man1/i3-input.1.gz
/usr/share/man/man1/i3-migrate-config-to-v4.1.gz
/usr/share/man/man1/i3-msg.1.gz
/usr/share/man/man1/i3-nagbar.1.gz
/usr/share/man/man1/i3-save-tree.1.gz
/usr/share/man/man1/i3-sensible-editor.1.gz
/usr/share/man/man1/i3-sensible-pager.1.gz
/usr/share/man/man1/i3-sensible-terminal.1.gz
/usr/share/man/man1/i3.1.gz
/usr/share/man/man1/i3bar.1.gz
/usr/share/pixmaps/i3-logo.svg
/usr/share/xsessions/i3-with-shmlog.desktop
/usr/share/xsessions/i3.desktop

References

Summary

In this tutorial we learn how to install i3 on Fedora 34 using yum and dnf.