Install Ranger on Ubuntu 22.04

Install Ranger on Ubuntu 22.04

Ranger is a command line based file manager that allows to navigate directories, preview file content, open a file with an editor, and other features. Ranger provides a way to navigate the filesystem using keyboard or mouse through the command line. This tutorial shows how to install Ranger on Ubuntu 22.04.

Install Ranger

Make sure the package lists are up-to-date:

sudo apt update

Install Ranger:

sudo apt install -y ranger

Once installed, check Ranger version as follows:

ranger --version

Testing Ranger

Start Ranger by simply executing:

ranger
Manage filesystem with ranger on Ubuntu

To exit Ranger, type q.

Uninstall Ranger

If you want to completely uninstall Ranger and related dependencies, execute the following command:

sudo apt purge --autoremove -y ranger

Leave a Comment

Cancel reply

Your email address will not be published.