New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

usr/local NOT exists!!!!


Post Reply New Thread Subscribe

 
Thread Tools
amlet

 
Member Since: Oct 25, 2010
Posts: 4
amlet is on a distinguished road

amlet is offline
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????
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,757
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
QUOTE Thanks
amlet

 
Member Since: Oct 25, 2010
Posts: 4
amlet is on a distinguished road

amlet is offline
yes, i have tried the mkdir local command but it tells me permission denied!
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,757
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
QUOTE Thanks
amlet

 
Member Since: Oct 25, 2010
Posts: 4
amlet is on a distinguished road

amlet is offline
of course!!! i forgot about sudo command

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

 
Member Since: Oct 25, 2010
Posts: 4
amlet is on a distinguished road

amlet is offline
btw thanks!!!!
QUOTE Thanks

Post Reply New Thread Subscribe


« IP Cameras for mac | External Hardrive Problems »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Post your Command-V's MacBookMe! Schweb's Lounge 38 08-13-2008 01:19 AM
File Already Exists when copying ?? But it dosent! davebranley OS X - Operating System 2 03-20-2008 03:31 PM
prompt box - exists beyond my monitor 4now OS X - Apps and Games 0 09-18-2007 07:10 PM
OMG it exists!! giulio Schweb's Lounge 4 08-27-2007 10:17 PM
Just How Secure Are the 'Reset Safari' & 'Erase Free Space' Facility? scoot OS X - Operating System 3 05-30-2007 05:28 PM

All times are GMT -4. The time now is 11:14 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?