How To Install nnn on Kali Linux

In this tutorial we learn how to install nnn on Kali Linux. nnn is Free, fast, friendly file manager

Introduction

In this tutorial we learn how to install nnn on Kali Linux.

What is nnn

nnn is:

nnn is a fork of noice, a blazing-fast lightweight terminal file manager with easy keyboard shortcuts for navigation, opening files and running tasks. nnn toppings

  • Show details of the currently selected file (stat, file)
  • Disk usage analyzer mode (within the same fs, doesn’t follow symlinks)
  • Directories first (even with sorting)
  • Sort numeric names in numeric order
  • Case-insensitive alphabetic content listing instead of upper case first
  • Key - to jump to last visited directory
  • Roll over at the first and last entries of a directory
  • Removed navigation restriction with relative paths
  • Sort entries by file size (largest to smallest)
  • Shortcut to invoke file name copier

There are three methods to install nnn on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install nnn Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install nnn using apt-get by running the following command:

sudo apt-get -y install nnn

Install nnn Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nnn using apt by running the following command:

sudo apt -y install nnn

Install nnn Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install nnn using aptitude by running the following command:

sudo aptitude -y install nnn

How To Uninstall nnn on Kali Linux

To uninstall only the nnn package we can use the following command:

sudo apt-get remove nnn

Uninstall nnn And Its Dependencies

To uninstall nnn and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nnn

Remove nnn Configurations and Data

To remove nnn configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nnn

Remove nnn configuration, data, and all of its dependencies

We can use the following command to remove nnn configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nnn

Dependencies

nnn have the following dependencies:

References

Summary

In this tutorial we learn how to install nnn package on Kali Linux using different package management tools: apt, apt-get and aptitude.