How To Install netrw on Kali Linux

In this tutorial we learn how to install netrw on Kali Linux. netrw is netcat like tool with nice features to transport files over network

Introduction

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

What is netrw

netrw is:

Netrw is a simple (but powerful) tool for transporting data over the internet. Its main purpose is to simplify and speed up file transfers to hosts without an FTP server. It can also be used for uploading data to some other user. It is something like one-way netcat (nc) with some nice features concerning data transfers. Netrw can compute and check message digest (MD5, SHA-1, and some others) of all the data being transferred, it can also print information on progress and average speed. At the end it sums up the transfer.

There are three methods to install netrw 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 netrw Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install netrw

Install netrw Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install netrw

Install netrw 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 netrw using aptitude by running the following command:

sudo aptitude -y install netrw

How To Uninstall netrw on Kali Linux

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

sudo apt-get remove netrw

Uninstall netrw And Its Dependencies

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

sudo apt-get -y autoremove netrw

Remove netrw Configurations and Data

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

sudo apt-get -y purge netrw

Remove netrw configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge netrw

Dependencies

netrw have the following dependencies:

References

Summary

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