Install eza on Ubuntu 24.04

Install eza on Ubuntu 24.04

The eza tool is a modern replacement for the traditional Unix ls command. It is designed to be more user-friendly and visually appealing while providing additional functionality. This tutorial demonstrates how to install eza on Ubuntu 24.04.

Install eza

Execute the following command to download the tar.gz file from the releases page of the eza repository:

wget -qO eza.tar.gz https://github.com/eza-community/eza/releases/latest/download/eza_x86_64-unknown-linux-gnu.tar.gz

Extract executable to /usr/local/bin directory:

sudo tar xf eza.tar.gz --strip-components=1 -C /usr/local/bin

We can check eza version as follows:

eza --version

Remove tar.gz file:

rm -rf eza.tar.gz

Testing eza

Using the eza command, display the contents of the desired directory like this:

eza -l /var/log

Here's an example of the output you might see when you run the command:

.rw-r--r--   28k root               5 Jun 07:15 alternatives.log
.rw-r-----   54k root               5 Jun 13:50 apport.log
drwxr-xr-x     - root               5 Jun 07:14 apt
.rw-r-----  403k syslog             5 Jun 14:45 auth.log
.rw-------  103k root               5 Jun 07:15 boot.log
.rw-r--r--  108k root               8 Aug  2023 bootstrap.log
...

Uninstall eza

If eza is no longer needed, remove it as follows:

sudo rm -rf /usr/local/bin/eza

Leave a Comment

Cancel reply

Your email address will not be published.