How To Install herbstluftwm on Fedora 34
Introduction
In this tutorial we learn how to install herbstluftwm
on Fedora 34.
What is herbstluftwm
herbstluftwm is a manual tiling window manager for X11 using Xlib and Glib. Its main features can be described with - The layout is based on splitting frames into subframes which can be split again or can be filled with windows; - Tags (or workspaces or virtual desktops or …) can be added/removed at runtime. Each tag contains an own layout exactly one tag is viewed on each monitor. The tags are monitor independent; - It is configured at runtime via ipc calls from herbstclient. So the configuration file is just a script which is run on startup.
We can use yum
or dnf
to install herbstluftwm
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install herbstluftwm.
Install herbstluftwm 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 herbstluftwm
using dnf
by running the following command:
sudo dnf -y install herbstluftwm
Install herbstluftwm 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 herbstluftwm
using yum
by running the following command:
sudo yum -y install herbstluftwm
How To Uninstall herbstluftwm on Fedora 34
To uninstall only the herbstluftwm
package we can use the following command:
sudo dnf remove herbstluftwm
herbstluftwm Package Contents on Fedora 34
/etc/xdg/herbstluftwm
/etc/xdg/herbstluftwm/autostart
/etc/xdg/herbstluftwm/dmenu_run_hlwm
/etc/xdg/herbstluftwm/panel.sh
/etc/xdg/herbstluftwm/restartpanels.sh
/usr/bin/herbstclient
/usr/bin/herbstluftwm
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/a40575e857ffa0b93994642fae1d813cc9751a
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/f60ec35aaf7a33216a9d59122034de49581d27
/usr/share/bash-completion/completions/herbstclient
/usr/share/doc/herbstluftwm
/usr/share/doc/herbstluftwm/AUTHORS
/usr/share/doc/herbstluftwm/BUGS
/usr/share/doc/herbstluftwm/CMakeLists.txt
/usr/share/doc/herbstluftwm/MIGRATION
/usr/share/doc/herbstluftwm/NEWS
/usr/share/doc/herbstluftwm/examples
/usr/share/doc/herbstluftwm/examples/README
/usr/share/doc/herbstluftwm/examples/dmenu.sh
/usr/share/doc/herbstluftwm/examples/dumpbeautify.sh
/usr/share/doc/herbstluftwm/examples/exec_on_tag.sh
/usr/share/doc/herbstluftwm/examples/execwith.sh
/usr/share/doc/herbstluftwm/examples/float-maximize.sh
/usr/share/doc/herbstluftwm/examples/floatmon.sh
/usr/share/doc/herbstluftwm/examples/herbstcommander.sh
/usr/share/doc/herbstluftwm/examples/keychain.sh
/usr/share/doc/herbstluftwm/examples/lasttag.sh
/usr/share/doc/herbstluftwm/examples/layout.sh
/usr/share/doc/herbstluftwm/examples/loadstate.sh
/usr/share/doc/herbstluftwm/examples/maximize.sh
/usr/share/doc/herbstluftwm/examples/perclient_kb_layout.sh
/usr/share/doc/herbstluftwm/examples/q3terminal.sh
/usr/share/doc/herbstluftwm/examples/savestate.sh
/usr/share/doc/herbstluftwm/examples/scratchpad.sh
/usr/share/doc/herbstluftwm/examples/toggledualhead.sh
/usr/share/doc/herbstluftwm/examples/windowmenu.sh
/usr/share/doc/herbstluftwm/examples/wselect.sh
/usr/share/doc/herbstluftwm/herbstclient.html
/usr/share/doc/herbstluftwm/herbstclient.txt
/usr/share/doc/herbstluftwm/herbstluftwm-tutorial.html
/usr/share/doc/herbstluftwm/herbstluftwm-tutorial.txt
/usr/share/doc/herbstluftwm/herbstluftwm.html
/usr/share/doc/herbstluftwm/herbstluftwm.txt
/usr/share/doc/herbstluftwm/hlwm-doc.json
/usr/share/licenses/herbstluftwm
/usr/share/licenses/herbstluftwm/LICENSE
/usr/share/man/man1/herbstclient.1.gz
/usr/share/man/man1/herbstluftwm.1.gz
/usr/share/man/man7/herbstluftwm-tutorial.7.gz
/usr/share/xsessions/herbstluftwm.desktop
References
Summary
In this tutorial we learn how to install herbstluftwm
on Fedora 34 using yum and dnf.