简体   繁体   English

自制软件安装在错误的位置?

[英]Homebrew installing in wrong location?

I'm currently beginning to learn ruby and have been running through a tutorial at Coursera . 我目前正在开始学习红宝石,并且已经在Coursera上完成了一个教程。 In the tutorial I get stuck really early on during install homebrew... 在本教程中,我真的很早就在安装自制程序时卡住了...

The lecturer does an ls -al call in terminal that shows ' homebrew ' in the list but when I do it, it doesn't come up. 讲师在终端中执行ls -al呼叫,该呼叫在列表中显示“ homebrew ”,但是当我这样做时,它不会出现。

I'm finding my homebrew in usr/local/library/homebrew but I cant seem to cd into there to keep on following the tutorial. 我在usr / local / library / homebrew中找到了自制软件,但是我似乎无法进入该光盘以继续学习本教程。

When I try to cd homebrew/ I get this message - -bash: cd: homebrew: No such file or directory 当我尝试cd homebrew /时,我收到此消息--bash:cd:homebrew:没有这样的文件或目录

I feel like I've screwed up at some point early on but I can't find it. 我觉得我早些时候已经搞砸了,但找不到。 I've tried to uninstall script and repeating but I'm getting the same results... 我尝试卸载脚本并重复执行,但是得到的结果相同...

Maybe I'm just being stupid but it's stopping me continuing as I can't write directly into the folder. 也许我只是愚蠢,但由于无法直接写入文件夹而使我无法继续。

Can someone tell me how I'm screwing up? 有人可以告诉我我是怎么搞砸的吗?

The lecturer thinks what you in the directory where homebrew is installing, but you not. 讲师会考虑您在自制软件安装目录中的内容,但您不会。

To find where is your homebrew use: 要查找自制食品在哪里使用:

$ brew --prefix

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM