Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    276
    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

  3. #3
    Just 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

  4. #4
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    276
    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •