ranger command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ranger: command not found
or when using sudo you get the following error message
sudo: ranger: command not found
Solutions to ranger: command not found
How To Fix ranger: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ranger is provided by ranger package.
ranger is:
Ranger is a console file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. It ships with “rifle”, a file launcher that is good at automatically finding out which program to use for what file type.
Design Goals
- An easily maintainable file manager in a high level language
- A quick way to switch directories and browse the file system
- Keep it small but useful, do one thing and do it well
- Console based, with smooth integration into the unix shell
To fix this problem, we can install more using the command below.
sudo apt-get -y install ranger
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ranger.
sudo apt -y install ranger
Or if you have aptitude installed you can use the following command.
sudo aptitude install ranger
Summary
In this tutorial we learn how to fix ranger command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.