Query about local folder in root/usr
why root/usr/local folder is empty in my new macbook air m1 chip ? is that the case with all or is it any technical fault
MacBook Air 13″, macOS 11.2
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
why root/usr/local folder is empty in my new macbook air m1 chip ? is that the case with all or is it any technical fault
MacBook Air 13″, macOS 11.2
Okay,I dont know much about terminal. Actually Whenever I try to download something by taking help from internet, they expect it to get downloaded in usr/local/bin folder . But as my local folder is empty, it contains no bin folder (for eg I downloaded gcc using homebrew by "brew install gcc" , but not able to use it)
Did you really mean /usr/local?
I think it is empty by default, but I have installed things there.
You could put things in usr/local/bin, but by default, downloads from the internet go to your Downloads folder. If it was a compiled binary, you could move it there.
You should not have to do anything but run ‘brew install’ with the formula name.
it is supposed to take care of putting everything in the correct place.
Okay, like initially when I ran "where gcc" it gave "usr/bin/gcc" , this one is preinstalled . But when I ran "brew install gcc", command "where gcc " still gave the same result "usr/bin/gcc" . But I expected it to print 1 more path where brew installed it
The root user is disabled by default. Why do you expect there to be anything in its home folder?
Also, many of my friends contain bin,include etc folders in that local folders (but they use intel mac), that's I want to clarify.
I don't know where homebrew installs gcc.
Query about local folder in root/usr