Linux installations are an easy process as NZBGet provides installers for Linux which require only Linux kernel 2.6 or later with no other library dependencies. This allows the NZBGet installer to work for most Linux installations including NAS, media players, WLAN routers, and other devices (even Chromebooks). The installer based installation process is described below. Please review the installation on POSIX guide if you prefer to self compile.
Automatic installation
-
Download the installer package from the NZBGet Download page.
-
If you have an up to date version of wget you can additionally download the installer directly on your device with the following command:
-
wget https://nzbget.net/download/nzbget-latest-bin-linux.run
-
-
-
Once downloaded start the installer from terminal with the following command:
-
sh nzbget-latest-bin-linux.run
-
Customized installation
-
NZBGet installs the directory nzbget in the current directory. If you wish you can specify another directory using parameter --destdir:
-
sh nzbget-latest-bin-linux.run --destdir /path/to/install/nzbget
-
-
CPU architecture is automatically detected by the installer. If you wish to change this setting, the architecture can be specified with parameter --arch <CPU-ARCH>:
-
sh nzbget-latest-bin-linux.run --arch armhf
-
-
Use parameter -h to get the list of supported CPU architectures.
-
If you want to extract all files from the installer use parameter --unpack. All files included will be unpacked and no configuration will be performed.
Test
-
Begin testing by starting NZBGet in console server mode. In this mode you can see any errors as they happen in the terminal window.
-
<nzbget-directory>/nzbget -s
-
-
If you get an error like “Can not open terminal” this is because NZBGet is in curses mode and it can’t determine the proper configuration.
-
To debug you can start NZBGet in output mode log or color:
-
<nzbget-directory>/nzbget -s -o outputmode=log
-
-
Alternatively you can set the TERM variable:
-
TERM=linux <nzbget-directory>/nzbget -s
-
-
Once complete open the URL http://ip-address-of-linux-machine:6789, this will launch the NZBGet web-interface.
-
Enter the default login credentials
-
Username: nzbget
-
Password: tegbzn6789
-
-
Go to settings and check options in the PATHS menu selection on the left side menu.
Restoring configuration
If you want to reuse a configuration file from another NZBGet installation review our guide on backing up and restoring settings.
Starting on boot
-
To run NZBGet in the background as daemon (service) use the command -D instead of -s:
-
<nzbget-directory>/nzbget -D
-
Please note: you will not see any output of this command.
-
Add this line to the init scripts of your system.
-
-
Then add a shutdown line to the shutdown scripts:
-
<nzbget-directory>/nzbget -Q
-
Please note that some systems (for example Synology NAS) offer easy scheduler configuration for tasks executed on system boot. In this event simply add the following command in the scheduler.
<nzbget-directory>/nzbget -D
Updates
On NZBGet installations that use the universal installer automatic updates are supported in the web-interface: Settings -> SYSTEM -> Check for updates.
To preserve your configuration and update NZBGet if the automatic update doesn’t function properly, you can download the installer with parameter