wiki page: Installing par2cmdline-turbo confusion?

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

wiki page: Installing par2cmdline-turbo confusion?

Post by OneCD »

Hey guys,

The second section of this wiki page (named "Installation of pre-built binaries") says the example is for /usr/local/bin/
Example of unpacking and putting into /usr/local/bin/ on Linux x86_64:
... but this path isn't used in the example. Instead, the example shows /usr/bin/

Code: Select all

xz -dv par2cmdline-turbo-v1.1.0-linux-amd64.xz
chmod +x par2cmdline-turbo-v1.1.0-linux-amd64
which par2 # note the location, and use that:
sudo mv /usr/bin/par2 /usr/bin/par2.old
sudo cp par2cmdline-turbo-v1.1.0-linux-amd64 /usr/bin/par2
par2 --version # check it says "par2cmdline-turbo"
Both paths are valid. In-fact, on my Debian 12.2, I have:

Code: Select all

onecd@talia:~$ type -a par2
par2 is /usr/local/bin/par2
par2 is /usr/bin/par2
par2 is /bin/par2
... but SABnzbd runs as 'onecd' , so I updated /usr/local/bin/par2 as per the rest of the example, and it works fine.

Can we please update the example path to match the path shown above the example?

Cheers! :D
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: wiki page: Installing par2cmdline-turbo confusion?

Post by sander »

Typo!

You can send a PR ... ?
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: wiki page: Installing par2cmdline-turbo confusion?

Post by OneCD »

I can, but I’m not sure which path should be shown as the correct one. Should we update the path in the example or above it?
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Post Reply