How To Install nwrite on Debian 10

Learn how to install nwrite on Debian 10 with this tutorial. nwrite is Enhanced replacement for the write command

Introduction

In this tutorial we learn how to install nwrite on Debian 10.

What is nwrite

nwrite is:

Nwrite is a replacement for the standard write program that lets you write directly to the terminal of another logged-in user without the overhead of talk taking over the full screen or the other user having to respond first.

Nwrite’s advantages over traditional write include the ability to send the same message simultaneously to multiple users, and a receiver-configurable message format, including a tag at the start of each line that identifies the sender.

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

Install nwrite Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nwrite

Install nwrite Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nwrite

Install nwrite Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install nwrite

How To Uninstall nwrite on Debian 10

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

sudo apt-get remove nwrite

Uninstall nwrite And Its Dependencies

To uninstall nwrite and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove nwrite

Remove nwrite Configurations and Data

To remove nwrite configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge nwrite

Remove nwrite configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nwrite

Dependencies

nwrite have the following dependencies:

References

Summary

In this tutorial we learn how to install nwrite package on Debian 10 using different package management tools: apt, apt-get and aptitude.