user-1718
01-05-2017, 01:03 AM
I just followed the manual installation guide for Linux, it all seems okay on my Pi 3, except the guide said to install to:
/usr/local/bin instead of /usr/bin ... is this normal?
I run get_iplayer inside "screen" sessions on my Pi 3, as it has lots going on; INSIDE the screen it was searching the PATH for /usr/bin and seemingly not looking in /usr/local/bin, but outside my screen session, it worked fine at the installed PATH... weirddd...
I fixed cobbled it by symlinking /usr/local/bin/get_iplayer to /usr/bin/get_iplayer - it now works.
My command was:
For the non-*nixers, what this does is create a "symoblic link" (layman's: a POINTER) to the get_iplayer script, where the OS expects the scipt to be, and when Linux looks for it at /usr/bin it transparently points it to /usr/local/bin - the execution of the script then works, the OS is unaware of the differing locations, in essence.
/usr/local/bin instead of /usr/bin ... is this normal?
I run get_iplayer inside "screen" sessions on my Pi 3, as it has lots going on; INSIDE the screen it was searching the PATH for /usr/bin and seemingly not looking in /usr/local/bin, but outside my screen session, it worked fine at the installed PATH... weirddd...
I fixed cobbled it by symlinking /usr/local/bin/get_iplayer to /usr/bin/get_iplayer - it now works.
My command was:
Code:
"sudo ln -s /usr/local/bin/get_iplayer /usr/bin/get_iplayer"
For the non-*nixers, what this does is create a "symoblic link" (layman's: a POINTER) to the get_iplayer script, where the OS expects the scipt to be, and when Linux looks for it at /usr/bin it transparently points it to /usr/local/bin - the execution of the script then works, the OS is unaware of the differing locations, in essence.