Page 1 of 1

wiki page: Installing par2cmdline-turbo confusion?

Posted: November 30th, 2023, 11:41 pm
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

Re: wiki page: Installing par2cmdline-turbo confusion?

Posted: December 1st, 2023, 12:04 am
by sander
Typo!

You can send a PR ... ?

Re: wiki page: Installing par2cmdline-turbo confusion?

Posted: December 1st, 2023, 12:13 am
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?