How To Install waybar on Kali Linux
Introduction
In this tutorial we learn how to install waybar
on Kali Linux.
What is waybar
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
There are three methods to install waybar
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install waybar Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install waybar
using apt-get
by running the following command:
sudo apt-get -y install waybar
Install waybar Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install waybar
using apt
by running the following command:
sudo apt -y install waybar
Install waybar Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install waybar
using aptitude
by running the following command:
sudo aptitude -y install waybar
How To Uninstall waybar on Kali Linux
To uninstall only the waybar
package we can use the following command:
sudo apt-get remove waybar
Uninstall waybar And Its Dependencies
To uninstall waybar
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove waybar
Remove waybar Configurations and Data
To remove waybar
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge waybar
Remove waybar configuration, data, and all of its dependencies
We can use the following command to remove waybar
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge waybar
Dependencies
waybar have the following dependencies:
- libc6
- libdbusmenu-gtk3-4
- libfmt7
- libgcc-s1
- libglib2.0-0
- libglibmm-2.4-1v5
- libgtk-3-0
- libgtk-layer-shell0
- libgtkmm-3.0-1v5
- libjsoncpp24
- libmpdclient2
- libnl-3-200
- libnl-genl-3-200
- libpulse0
- libsigc++-2.0-0v5
- libspdlog1-fmt7
- libstdc++6
- libudev1
- libwayland-client0
- init-system-helpers
References
Summary
In this tutorial we learn how to install waybar
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.