How To Install nzbget on Ubuntu 22.04

In this tutorial we learn how to install nzbget on Ubuntu 22.04. nzbget is command-line based binary newsgrabber for nzb files

Introduction

In this tutorial we learn how to install nzbget on Ubuntu 22.04.

What is nzbget

nzbget is:

NZBGet is a command-line based binary newsgrabber that uses nzb files as described in http://docs.newzbin.com/index.php/Newzbin:NZB_Specs, they are commonly used to describe binaries posted in the Usenet that span multiple posts.

nzbget can be run as a standalone tool, in client/server mode or as a daemon, which makes it ideal to run on NAS-devices or routers. nzbget supports automatic par-check/-repair can use scripts to postprocess downloaded files, for example to stream them to an audio/video player.

There are three methods to install nzbget on Ubuntu 22.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 nzbget Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nzbget

Install nzbget Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nzbget

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

sudo aptitude -y install nzbget

How To Uninstall nzbget on Ubuntu 22.04

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

sudo apt-get remove nzbget

Uninstall nzbget And Its Dependencies

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

sudo apt-get -y autoremove nzbget

Remove nzbget Configurations and Data

To remove nzbget configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge nzbget

Remove nzbget configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nzbget

References

Summary

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