How To Install lv on Debian 11

In this tutorial we learn how to install lv on Debian 11. lv is Powerful Multilingual File Viewer

Introduction

In this tutorial we learn how to install lv on Debian 11.

What is lv

lv is:

lv is a powerful file viewer like less. lv can decode and encode multilingual streams through many coding systems: ISO-8859, ISO-2022, EUC, SJIS, Big5, HZ, Unicode.

It recognizes multi-bytes patterns as regular expressions, lv also provides multilingual grep. In addition, lv can recognize ANSI escape sequences for text decoration.

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

Install lv Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lv

Install lv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lv

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

sudo aptitude -y install lv

How To Uninstall lv on Debian 11

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

sudo apt-get remove lv

Uninstall lv And Its Dependencies

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

sudo apt-get -y autoremove lv

Remove lv Configurations and Data

To remove lv configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge lv

Remove lv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lv

Dependencies

lv have the following dependencies:

References

Summary

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