Results 1 to 4 of 4
Hi there! I want to install an executeable and I am not sure how to do this. My intuition was to copy the executeable in the /usr/bin folder, but when ...
- 06-19-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 2
Install executables in bin folder
Hi there! I want to install an executeable and I am not sure how to do this. My intuition was to copy the executeable in the /usr/bin folder, but when I call it now, it says permission denied (and obviously I don't want to call the program with sudo every time). What did I do wrong?
Thanks, fweth
- 06-19-2011 #2
You could have created a softlink ($ sudo ln -s ...)
Why do you think you have to use sudo now? That is the question you may want to answer to yourself.
Does the output of
$ ls -ld /usr/bin
helps?
Check file permissions, see chown, chmod and ln commands (man or on the internet). Using sudo as a purpose, and you might want to have to use it every time (why?).
Hope it helps... a little. I'm guessing your are not a console fan, right? Or not true?
About "what did I do wrong?". First, what did you do, how did you copy it?
Regards
Luis
- 06-19-2011 #3Just Joined!
- Join Date
- Jun 2011
- Posts
- 2
Thanks for the quick reply! chmod was the hint, I have changed the permissions of the file and now everything works fine. I am quite a newbie to Linux so I didn't know this essential command :/
Regards, fweth
- 06-19-2011 #4
Glad it helped. Welcome to linux forums.
Best regards
EDIT: It's debatable, but, in some cases, the ln command may be a better solution (with the -s option).


Reply With Quote