What is the best solution when use soft link?
up vote
0
down vote
favorite
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?
symbolic-link
New contributor
add a comment |
up vote
0
down vote
favorite
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?
symbolic-link
New contributor
1
Possible solutions to help: askubuntu.com/questions/108771/…
– Terrance
Nov 20 at 3:21
Sorry, I know difference between them but how to resolve my problem, either soft link and hard link both don't resolve this case.
– kien bui
Nov 20 at 6:34
I used a soft link but I can't call ./binA
– kien bui
Nov 20 at 6:37
2
Did you make your filebinA
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 at 7:53
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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?
symbolic-link
New contributor
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?
symbolic-link
symbolic-link
New contributor
New contributor
edited Nov 20 at 6:35
New contributor
asked Nov 20 at 3:15
kien bui
1012
1012
New contributor
New contributor
1
Possible solutions to help: askubuntu.com/questions/108771/…
– Terrance
Nov 20 at 3:21
Sorry, I know difference between them but how to resolve my problem, either soft link and hard link both don't resolve this case.
– kien bui
Nov 20 at 6:34
I used a soft link but I can't call ./binA
– kien bui
Nov 20 at 6:37
2
Did you make your filebinA
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 at 7:53
add a comment |
1
Possible solutions to help: askubuntu.com/questions/108771/…
– Terrance
Nov 20 at 3:21
Sorry, I know difference between them but how to resolve my problem, either soft link and hard link both don't resolve this case.
– kien bui
Nov 20 at 6:34
I used a soft link but I can't call ./binA
– kien bui
Nov 20 at 6:37
2
Did you make your filebinA
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 at 7:53
1
1
Possible solutions to help: askubuntu.com/questions/108771/…
– Terrance
Nov 20 at 3:21
Possible solutions to help: askubuntu.com/questions/108771/…
– Terrance
Nov 20 at 3:21
Sorry, I know difference between them but how to resolve my problem, either soft link and hard link both don't resolve this case.
– kien bui
Nov 20 at 6:34
Sorry, I know difference between them but how to resolve my problem, either soft link and hard link both don't resolve this case.
– kien bui
Nov 20 at 6:34
I used a soft link but I can't call ./binA
– kien bui
Nov 20 at 6:37
I used a soft link but I can't call ./binA
– kien bui
Nov 20 at 6:37
2
2
Did you make your file
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 file binA
to a directory in PATH
, for example /usr/local/bin
– sudodus
Nov 20 at 7:53
Did you make your file
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 file binA
to a directory in PATH
, for example /usr/local/bin
– sudodus
Nov 20 at 7:53
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
kien bui is a new contributor. Be nice, and check out our Code of Conduct.
kien bui is a new contributor. Be nice, and check out our Code of Conduct.
kien bui is a new contributor. Be nice, and check out our Code of Conduct.
kien bui is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094405%2fwhat-is-the-best-solution-when-use-soft-link%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Possible solutions to help: askubuntu.com/questions/108771/…
– Terrance
Nov 20 at 3:21
Sorry, I know difference between them but how to resolve my problem, either soft link and hard link both don't resolve this case.
– kien bui
Nov 20 at 6:34
I used a soft link but I can't call ./binA
– kien bui
Nov 20 at 6:37
2
Did you make your file
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 at 7:53