I installed some programm (xlsx2csv) using pip3. The executable of the software is in ~/.local/bin.
My $PATH is defined in ~/.profile like this:
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
echo $PATH
/home/bruni/bin:/home/bruni/.local/bin:/home/bruni/bin:/home/bruni/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Permissions on the executable seem ok:
bruni@bruni-Inspiron-5547:~/.local/bin$ ls -l
total 44
-rwxrwxr-x 1 bruni bruni 42501 Jul 2 12:39 xlsx2csv
bruni@bruni-Inspiron-5547:~/.local/bin$ type -a xlsx2csv
xlsx2csv is /home/bruni/.local/bin/xlsx2csv
xlsx2csv is /home/bruni/.local/bin/xlsx2csv
Nonetheless, I cannot invoke the installed software without specifying the exact path.
:~$ xlsx2csv
-bash: /usr/bin/xlsx2csv: No such file or directory
echo $PATHandtype -a xlsx2csv? – Byte Commander Jul 02 '18 at 10:12/home/bruni/bin:/home/bruni/.local/bin:on your PATH twice, but I doubt that would break it. Still would be worth removing the duplicate IMHO. And what exactly is the error message when you try to run the commandxlsx2csv? You could also runhash -rto clear some command path caches and try again afterwards. – Byte Commander Jul 02 '18 at 10:28