xmobar command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xmobar: command not found
or when using sudo you get the following error message
sudo: xmobar: command not found
Solutions to xmobar: command not found
How To Fix xmobar: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xmobar is provided by xmobar package.
xmobar is:
xmobar is a lightweight text-based status bar for X11 desktops written in Haskell and designed to work with (but not limited to) xmonad. It has a variety of plugins allowing the display of system-related data and an extensible architecture that makes it easy to write one’s own plugins. xmobar supports displaying UTF-8 text and using TrueType fonts via Xft.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xmobar
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xmobar.
sudo apt -y install xmobar
Or if you have aptitude installed you can use the following command.
sudo aptitude install xmobar
Summary
In this tutorial we learn how to fix xmobar command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.