How To Install xmobar on Fedora 34
Introduction
In this tutorial we learn how to install xmobar
on Fedora 34.
What is xmobar
Xmobar is a minimalistic text based status bar. Inspired by the Ion3 status bar, it supports similar features, like dynamic color management, output templates, and extensibility through plugins.
We can use yum
or dnf
to install xmobar
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xmobar.
Install xmobar 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 xmobar
using dnf
by running the following command:
sudo dnf -y install xmobar
Install xmobar 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 xmobar
using yum
by running the following command:
sudo yum -y install xmobar
How To Uninstall xmobar on Fedora 34
To uninstall only the xmobar
package we can use the following command:
sudo dnf remove xmobar
xmobar Package Contents on Fedora 34
/usr/bin/xmobar
/usr/bin/xmonadpropwrite
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/599513fa1675f6592cf46fefd63d3217ba12f1
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/5f9f1c6d5823b13b8001ae762562aec664e986
/usr/lib/.build-id/ac/5f9f1c6d5823b13b8001ae762562aec664e986.1
/usr/share/applications/xmobar.desktop
/usr/share/doc/xmobar
/usr/share/doc/xmobar/changelog.md
/usr/share/doc/xmobar/examples
/usr/share/doc/xmobar/examples/padding-icon.sh
/usr/share/doc/xmobar/examples/xmobar.config
/usr/share/doc/xmobar/examples/xmobar.hs
/usr/share/doc/xmobar/examples/xmonadpropwrite
/usr/share/doc/xmobar/examples/xmonadpropwrite.hi
/usr/share/doc/xmobar/examples/xmonadpropwrite.hs
/usr/share/doc/xmobar/examples/xmonadpropwrite.o
/usr/share/doc/xmobar/readme.md
/usr/share/doc/xmobar/xmobar.config
/usr/share/licenses/xmobar
/usr/share/licenses/xmobar/license
References
Summary
In this tutorial we learn how to install xmobar
on Fedora 34 using yum and dnf.