While par2-tbb is a drop-in replacement for the standard par2 package as far as SABnzbd+ is concerned, the wiki page about multi-core par2 support is still required reading!
- Code: Select all
sudo apt-get install devscripts build-essential git debhelper dh-autoreconf libtbb-dev
git clone https://github.com/jcfp/debpkg-par2tbb.git
dpkg-buildpackage -S -us -uc -d
dpkg-source -x ../par2cmdline-tbb_*.dsc
dpkg-buildpackage -b -us -uc
echo; echo "to install, run: sudo dpkg -i $(readlink -f ../par2-tbb_*.deb)"
As always, no warranty of any kind. Tested on Debian unstable and Ubuntu trusty, ymmv on anything else. Supported architectures and operating systems are probably limited to whatever has a recent version of libtbb available. Don't worry if you get lots of output during build: verbose logging is on by default and in addition there's plenty of compiler warnings with these par2 sources.
20150723: now uses copies of the chuchusoft source releases hosted on my github account, the chuchusoft website was just too unreliable.
20151102: patch configure.ac to handle building on *-*-linux-gnu<something>
20160618: patch Makefile.am to support compiling with older libc