How To Install nzb on Ubuntu 18.04

In this tutorial we learn how to install nzb on Ubuntu 18.04. nzb is Usenet binary grabber

Introduction

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

What is nzb

nzb is:

nzb is a binary news grabber written in Qt 4. It natively downloads and decodes the files specified in the nzb file, an XML format which describes binary files on Usenet by their message-id. nzb provides support for direct streaming of media files to your favourite media player.

nzb files are a popular way to describe files posted on Usenet which span several messages (multi-part binaries). These files eliminate the need to fetch headers from newsgroups as nzb files contain the message-ids of the segments which can be downloaded directly from most news servers. A technical description can be found at http://docs.newzbin2.es/index.php/Newzbin:NZB_Specs

nzb makes Usenet downloading easy by providing an easy to use interface which loads up a specified nzb file and either downloads the files described in the nzb or streams the data to an external application. This is usually used for video files which results in streaming video over Usenet.

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

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

sudo apt-get update

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

sudo apt-get -y install nzb

Install nzb Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nzb

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

sudo aptitude -y install nzb

How To Uninstall nzb on Ubuntu 18.04

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

sudo apt-get remove nzb

Uninstall nzb And Its Dependencies

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

sudo apt-get -y autoremove nzb

Remove nzb Configurations and Data

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

sudo apt-get -y purge nzb

Remove nzb configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nzb

References

Summary

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