How To Install i3blocks on Fedora 34
Introduction
In this tutorial we learn how to install i3blocks
on Fedora 34.
What is i3blocks
A feed generator for text based status bars i3blocks executes your command lines and generates a status line from their output. Commands are scheduled at configured time intervals, upon signal reception or on clicks. The generated line is meant to be displayed by the i3 window manager through its i3bar component, as an alternative to i3status. i3blocks is meant to be highly flexible but intuitive. No library package is required, just output what your status bar expects, from your favorite programming language and your preferred format.
We can use yum
or dnf
to install i3blocks
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install i3blocks.
Install i3blocks 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 i3blocks
using dnf
by running the following command:
sudo dnf -y install i3blocks
Install i3blocks 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 i3blocks
using yum
by running the following command:
sudo yum -y install i3blocks
How To Uninstall i3blocks on Fedora 34
To uninstall only the i3blocks
package we can use the following command:
sudo dnf remove i3blocks
i3blocks Package Contents on Fedora 34
/etc/i3blocks.conf
/usr/bin/i3blocks
/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/dc9d9200b90a6aafe770e3e3ce95f58193113c
/usr/share/licenses/i3blocks
/usr/share/licenses/i3blocks/COPYING
/usr/share/man/man1/i3blocks.1.gz
References
Summary
In this tutorial we learn how to install i3blocks
on Fedora 34 using yum and dnf.