Home : Linux : Software :

Nzbget

Nzbget is a tool for downloading binaries posted to newsgroups. While NZBGet is a little more work (unless you use the binary below) to set up than other newsgroup software, it is well worth it. I run it in daemon mode (runs in the background and logging in and out of X doesn't affect it) and use NZBGetWeb (on the nzbget download page) to track progress (can also check with -L when not running X). With BNR2 I'd build my own NZB's so I wouldn't have to download a bunch of unnecessary par2 files. I also came up with shortcuts and other ways to process rars and par2's (see: Archiving).

One of the nice things about NZBGet is that it can automatically repair an archive and it will only download the par2 files it needs to do it. Another thing that's really handy is that you can save NZB's directly to the nzb directory and they will be downloaded automatically.

While NZBGet doesn't extract the archive itself, it can send the needed information to a post processing script. This allows you do do whatever you want with the downloaded files, e.g. automated extraction and cleanup. I initially created PPWeb to do just that. PPWeb now includes WFNzb so that the whole process - from watching for and downloading nzb's, to extraction and cleanup - can be fully automated.
admin

Building From Sources

Libraries (dev version numbers are just examples) needed to build NZBGet. Some are optional but its easier to just install them all. Mandriva has all but the libpar2-0 packages.

      libstdc++ and libstdc++6-devel
      libxml2 and libxml2-devel
      libncurses and libncurses5-devel
      libpar2 and libpar2-0-dev
      libsigc++ and libsigc++2.0_0-devel
      libopenssl0.9.8-devel (0.5.0-r204)

You'll also need a build environment. While gcc is pretty common, you may also need to install things like gcc-c++, make, autoconf and automake... The later two may only be needed when building from svn sources and can be avoided by doing $ touch configure and $ touch Makefile.in before running $ ./configure (ref). If your binary is over 2MB, run $ strip nzbget (thks hugbug).
[ comment | link | top ]admin

Binary

With a new install of Mandriva 2008.1 (spring), all I needed to install NZBGet was libpar2-0 and libsigc++2.0 (no devel's needed) and the executable I built on Mandriva '07. Since it should make it easier for others to get started with NZBGet, I'm posting the exectable along with README's and configuration example... Since the executable has been known to work on Debian 4 Etch x86 32-bit (thx hugbug), my guess is that it will work with other Linux distros as well... The build system is now Mandriva '08 (x86 32-bit).

      1563_nzbget-0.6.0.tar.gz   nzbget-0.6.0-bin.tar.gz (21-Mar-2009)

It looks like future builds will be on PCLOS. The following were built using nzbget-0.7.0-testing-r342 from the NZBGet Subversion repository. The NZBGet RPM is my first attempt at building an RPM and I'd appreciate any feedback, e.g. if you build or use it on a distro other than PCLOS or Mandriva.

      1563_nzbget-0.7.0-testing-r342.tar.gz   nzbget-0.7.0-testing-r342.tar.gz

      1563_nzbget-0.7.0-1pclinuxos2009.i586.rpm   nzbget-0.7.0-1pclinuxos2009.i586.rpm
      1563_nzbget-0.7.0-1pclinuxos2009.src.rpm   nzbget-0.7.0-1pclinuxos2009.src.rpm
   
See also: NZBGet files at Sourceforge
[ comment | link | top ]admin

Back to: Software