I have a tool.
This tool extracts an executable file (called binA) and then this tool call ./binA
binA file is in where is the same tool's location.
I make a soft link to this tool run anywhere:
ln -s /home/user/Desktop/tool /usr/local/bin
This tool extracted successfully but can't call ./binA
I tried call ln -s /home/user/Desktop/tool /usr/local/bin
this tool can't extract binA file.
What is the best solution for this problem?
binA
executable, so that you can run it, when you call it directly from the directory, where is is located:./binA
? In that case a symbolic link to it should also make it run. An alternative is to move the filebinA
to a directory inPATH
, for example/usr/local/bin
– sudodus Nov 20 '18 at 07:53