Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Just received my macbook air and discover that i can't run port command because of /opt directory not exists. Is it normal? (OS X 10.9)

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Yes, OS X does not come with anything in /opt or even the directory itself. I presume you're looking for MacPorts, which is a 3rd-party package manager that installs port. MacPorts has to be installed separately.

Various other apps can place files in /opt though. For example, even though I've never had MacPorts, I have the /opt directory and it contains the X11 directory.

share|improve this answer
    
keep in mind that there are also other Projects like homebrew and fink. –  konqui Jul 13 at 5:26
    
@konqui Homebrew hasn't put anything in my /opt—have you used a custom prefix? –  George Garside Jul 13 at 8:20
    
No i have not but i saw soe tutorials where they show how one could do. Your right by default homebrew doean't use /opt. But one can make it to use it, thats why i mentioned it. –  konqui Jul 13 at 8:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.