waybar command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
waybar: command not found
or when using sudo you get the following error message
sudo: waybar: command not found
Solutions to waybar: command not found
How To Fix waybar: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu waybar is provided by waybar package.
waybar is:
Waybar is a highly customizable wayland bar for Sway and Wlroots based compositors. It features applets displaying information about Sway (Workspaces, Binding mode, Focused window name), Local time, Battery, Network, Pulseaudio, Memory, Cpu load average and custom scripts
To fix this problem, we can install more using the command below.
sudo apt-get -y install waybar
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install waybar.
sudo apt -y install waybar
Or if you have aptitude installed you can use the following command.
sudo aptitude install waybar
Summary
In this tutorial we learn how to fix waybar command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.