How To Install yabar on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 421 words
Introduction
In this tutorial we learn how to install yabar
on Ubuntu.
What is yabar
yabar is:
Yabar is a modern and lightweight status bar that is intended to be used along with minimal X window managers like bspwm and i3.
Yabar has the following features:
- Extremely configurable with easy configuration system using a single config file.
- A growing set of ready-to-use internal blocks developed in plain C.
- Pango font rendering with support of pango markup language.
- Support for icons and images.
- Support for transparency.
- Multi-monitor support using RandR.
- Entirely clickable.
- Support for several environment variables to help button commands.
- Multiple bars within the same session.
There are three methods to install yabar
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install yabar Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install yabar
using apt-get
by running the following command:
sudo apt-get -y install yabar
Install yabar Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install yabar
using apt
by running the following command:
sudo apt -y install yabar
Install yabar Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install yabar
using aptitude
by running the following command:
sudo aptitude -y install yabar
How To Uninstall yabar on Ubuntu
To uninstall only the yabar
package we can use the following command:
sudo apt-get remove yabar
Uninstall yabar And Its Dependencies
To uninstall yabar
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove yabar
Remove yabar Configurations and Data
To remove yabar
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge yabar
Remove yabar configuration, data, and all of its dependencies
We can use the following command to remove yabar
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge yabar
Dependencies
yabar have the following dependencies:
- libc6
- libcairo2
- libconfig9
- libglib2.0-0
- libpango-1.0-0
- libpangocairo-1.0-0
- libxcb-ewmh2
- libxcb-randr0
- libxcb1
References
Summary
In this tutorial we learn how to install yabar
package on Ubuntu using different package management tools: apt, apt-get and aptitude.