Install lf Terminal File Manager on Ubuntu 26.04

Install lf Terminal File Manager on Ubuntu 26.04

The lf is a lightweight terminal-based file manager written in Go. It provides a fast, keyboard-driven way to browse directories and manage files directly from the command line. This tutorial demonstrates how to install lf terminal file manager on Ubuntu 26.04.

Install lf

Download the latest archive from GitHub releases page and extract the binary into /usr/local/bin:

curl -sSL https://github.com/gokcehan/lf/releases/latest/download/lf-linux-amd64.tar.gz \
  | sudo tar xz -C /usr/local/bin lf

Verify that the installation completed successfully by checking lf version:

lf --version

Testing lf

Launch the file manager by running the lf command. A specific directory can also be provided as an argument, for example:

lf /usr/local

The terminal interface can then be used to browse directories and work with files.

Manage filesystem with lf on Ubuntu

To close lf, press q key.

Uninstall lf

If lf is no longer required, remove its executable by using the following command:

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

Leave a Comment

Cancel reply

Your email address will not be published.