How To Install xbuffy on Ubuntu 18.04

In this tutorial we learn how to install xbuffy on Ubuntu 18.04. xbuffy is monitor mailboxes and/or newsgroups

Introduction

In this tutorial we learn how to install xbuffy on Ubuntu 18.04.

What is xbuffy

xbuffy is:

Xbuffy is a program that displays how many unread mails you have in your different mailboxes. You can have different titles for the mailboxes, and define what shall happen when a new mail arrives. It can beep and invoke a shell command, for example.

If you press mouse button 1 on the title associated with a mail box, a list of From: and Subject: lines of the mails in the mail spool file is shown. If you press mouse button 2, an arbitrary command is executed.

Xbuffy can similarly watch newsgroups via NNTP.

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

Install xbuffy Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xbuffy

Install xbuffy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xbuffy

Install xbuffy 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install xbuffy

How To Uninstall xbuffy on Ubuntu 18.04

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

sudo apt-get remove xbuffy

Uninstall xbuffy And Its Dependencies

To uninstall xbuffy and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove xbuffy

Remove xbuffy Configurations and Data

To remove xbuffy configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xbuffy

Remove xbuffy configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xbuffy

References

Summary

In this tutorial we learn how to install xbuffy package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.