How To Install vivid on Debian 12

Learn how to install vivid on Debian 12 with this tutorial. vivid is LS_COLORS manager with multiple themes

Introduction

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

What is vivid

vivid is:

vivid is a generator for the LS_COLORS environment variable that controls the colorized output of ls, tree, fd, bfs, dust and many other tools.

It uses a YAML configuration format for the filetype-database and the color themes. In contrast to dircolors, the database and the themes are organized in different files. This allows users to choose and customize color themes independent from the collection of file extensions. Instead of using cryptic ANSI escape codes, colors can be specified in the RRGGBB format and will be translated to either truecolor (24-bit) ANSI codes or 8-bit codes for older terminal emulators.

There are three methods to install vivid 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 vivid Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install vivid

Install vivid Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install vivid

Install vivid 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 vivid using aptitude by running the following command:

sudo aptitude -y install vivid

How To Uninstall vivid on Debian 12

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

sudo apt-get remove vivid

Uninstall vivid And Its Dependencies

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

sudo apt-get -y autoremove vivid

Remove vivid Configurations and Data

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

sudo apt-get -y purge vivid

Remove vivid configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge vivid

Dependencies

vivid have the following dependencies:

References

Summary

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