Results 1 to 6 of 6
  1. #1


    Member Since
    Oct 25, 2010
    Posts
    4
    usr/local NOT exists!!!!
    Hi all,

    I have just bought the new MacBook Pro and i am trying to install a library for eclipse. The library tries to install files in the usr/local/bin directory but it cant find it. When i go to the /usr directory and do the ls command there is no local directory!!!! Can you help me please????

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    There is on my machine but it looks as if the reason is my own (I installed stuff that created it). Have you tried simply creating it?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3


    Member Since
    Oct 25, 2010
    Posts
    4
    yes, i have tried the mkdir local command but it tells me permission denied!

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You need to have root permissions to create a directory in /usr. Execute the following:
    Code:
    sudo mkdir /usr/local
    Use your password.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5


    Member Since
    Oct 25, 2010
    Posts
    4
    of course!!! i forgot about sudo command

    but i was amased because in the previous MacBook there was a local directory

  6. #6


    Member Since
    Oct 25, 2010
    Posts
    4
    btw thanks!!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Think I broke /usr/local
    By LWA in forum OS X - Operating System
    Replies: 1
    Last Post: 03-30-2012, 12:24 AM
  2. Moving /usr/local to ~/local
    By blueskai in forum OS X - Operating System
    Replies: 4
    Last Post: 06-28-2011, 02:05 PM
  3. Where is usr/local located?
    By MohammedDoghman in forum OS X - Apps and Games
    Replies: 3
    Last Post: 11-11-2010, 11:43 PM
  4. No /usr/local/lib at all
    By XMARLTONX in forum OS X - Operating System
    Replies: 7
    Last Post: 06-01-2010, 08:25 PM
  5. /usr/local
    By oxygren in forum OS X - Operating System
    Replies: 4
    Last Post: 07-13-2009, 08:55 PM

Posting Permissions

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