How To Install le on Ubuntu 22.04
Introduction
In this tutorial we learn how to install le
on Ubuntu 22.04.
What is le
le is:
LE has many block operations with stream and rectangular blocks, can edit both Unix and DOS style files (LF/CRLF), is binary clean, has hexadecimal mode, can edit large files and mmap’able devices, has tunable syntax highlighting, tunable key map, and tunable color scheme (but can use default colors).
There are three methods to install le
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install le Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install le
using apt-get
by running the following command:
sudo apt-get -y install le
Install le Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install le
using apt
by running the following command:
sudo apt -y install le
Install le 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 le
using aptitude
by running the following command:
sudo aptitude -y install le
How To Uninstall le on Ubuntu 22.04
To uninstall only the le
package we can use the following command:
sudo apt-get remove le
Uninstall le And Its Dependencies
To uninstall le
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove le
Remove le Configurations and Data
To remove le
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge le
Remove le configuration, data, and all of its dependencies
We can use the following command to remove le
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge le
References
Summary
In this tutorial we learn how to install le
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.