How To Install yambar on Debian 12

Learn how to install yambar on Debian 12 with this tutorial. yambar is Lightweight and configurable status panel

Introduction

In this tutorial we learn how to install yambar on Debian 12.

What is yambar

yambar is:

yambar is a lightweight and configurable status panel (bar, for short) for X11 and Wayland, that goes to great lengths to be both CPU and battery efficient - polling is only done when absolutely necessary.

It has a number of modules that provide information in the form of tags. For example, the clock module has a date tag that contains the current date.

The modules do not know how to present the information though. This is instead done by particles. And the user, you, decides which particles (and thus how to present the data) to use.

Furthermore, each particle can have a decoration - a background color or a graphical underline, for example.

There is no support for images or icons. use an icon font (e.g. Font Awesome, or Material Icons) if you want a graphical representation.

There are a number of modules and particles builtin. More can be added as plugins. You can even write your own!

To summarize: a bar displays information provided by modules, using particles and decorations. How is configured by you.

There are three methods to install yambar on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install yambar Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install yambar using apt-get by running the following command:

sudo apt-get -y install yambar

Install yambar Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install yambar using apt by running the following command:

sudo apt -y install yambar

Install yambar 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install yambar using aptitude by running the following command:

sudo aptitude -y install yambar

How To Uninstall yambar on Debian 12

To uninstall only the yambar package we can use the following command:

sudo apt-get remove yambar

Uninstall yambar And Its Dependencies

To uninstall yambar and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove yambar

Remove yambar Configurations and Data

To remove yambar configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge yambar

Remove yambar configuration, data, and all of its dependencies

We can use the following command to remove yambar configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge yambar

Dependencies

yambar have the following dependencies:

References

Summary

In this tutorial we learn how to install yambar package on Debian 12 using different package management tools: apt, apt-get and aptitude.