Giter Site home page Giter Site logo

ineo6 / homebrew-install Goto Github PK

View Code? Open in Web Editor NEW
492.0 8.0 72.0 3.6 MB

homebrew安装使用中科大镜像

Home Page: https://brew.idayer.com

License: BSD 2-Clause "Simplified" License

Ruby 0.59% Shell 61.96% JavaScript 3.18% Less 20.00% TypeScript 14.27%
homebrew mirror install macos arm

homebrew-install's Introduction

homebrew-install's People

Contributors

anhao avatar ineo6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-install's Issues

安装路径咋设置啊

之前安装的路径都在/usr/local,用大佬你的脚本装在了opt下,请问如何调整安装路径?

install node 报错

==> Installing homebrew-core/formula/node dependency: brotli
Error: No available tap homebrew-core/formula.

安装过程中出现新的报错

报错信息:

Error: Checksum mismatch.
Expected: b065e5e3783954f3e65d8d3a6377ca51649bfcfa21b356b0dd70490f74c6bd86
  Actual: 0654ebc0037367ff7f9e21159efb9d7692f8780a1569f5ea6002cda78f456a1a
 Archive: /Users/yuhongbo/Library/Caches/Homebrew/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
To retry an incomplete download, remove the file above.

Error: Failed to install Homebrew Portable Ruby (and your system version is too old)!

设备信息:MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)

系统信息:Catalina 10.15.4

补充:删除提示文件夹后重试下载,依然失败,报错相同。

no such file or directory 最新版本目录是有修改吗?

请问i下官方最新的版本,是不是目录结构有修改?
之前的几个文件夹都没有了?

➜  homebrew git:(stable) $(brew --repo homebrew/core)
zsh: no such file or directory: /opt/homebrew/Library/Taps/homebrew/homebrew-core
➜  Library git:(stable) pwd
/opt/homebrew/Library
➜  Library git:(stable) ls -al
total 32
drwxr-xr-x    5 caimaoy  admin    160  2 29 01:19 .
drwxr-xr-x   33 caimaoy  admin   1056  2 29 01:19 ..
-rw-r--r--    1 caimaoy  admin  11327  2 29 01:19 .rubocop.yml
drwxr-xr-x  180 caimaoy  admin   5760  2 29 01:19 Homebrew
-rw-r--r--    1 caimaoy  admin    206  2 29 01:19 README.md

关于m1芯片设置环境变量

终端类型是zsh,m1芯片设置环境变量的时候,环境变量应该放在zprofile下还是zshrc下?两者有什么区别

是不是现在还不支持BigSur

Traceback (most recent call last):
3: from -e:164:in <main>' 2: from -e:113:in macos_version'
1: from -e:113:in new' -e:100:in initialize': undefined method `split' for nil:NilClass (NoMethodError)

报错了

From https://mirrors.ustc.edu.cn/homebrew-core

6.7%

7.2%

curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Error: Checksum mismatch.
Expected: b065e5e3783954f3e65d8d3a6377ca51649bfcfa21b356b0dd70490f74c6bd86
Actual: cb4a342f92cbb431e38bed4d041e99879bc0649b37d5991047af96d73ed2f99c
Archive: /Users/codeao/Library/Caches/Homebrew/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
To retry an incomplete download, remove the file above.
Error: Failed to install Homebrew Portable Ruby (and your system version is too old)!
Failed during: /usr/local/bin/brew update --force --quiet

liblzma-devel

mac M1 Monterey,在安装R包中出现报错:“cram/cram_io.c:61:10: fatal error: 'lzma.h' file not found”,上网搜到提示需要安装liblzma-devel,使用brew install的时候提示搜索不到这个包,能帮忙看看是什么问题吗?

cask安装报错

homebrew安装成功之后也遇到了cask安装报错的问题,具体报错如下:
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-cask/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
Error: Failure while executing; git clone https://github.com/Homebrew/homebrew-cask /opt/homebrew/Library/Taps/homebrew/homebrew-cask --origin=origin --template= exited with 128.
安装环境:m1,macOS: 11.6-arm64

安装cask报错

 % git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git
fatal: cannot change to '/opt/homebrew/Library/Taps/homebrew/homebrew-cask': No such file or directory

报错信息如上,安装环境:m1,系统版本mac os 11.2.3

mac10.15 安装失败

You are using macOS 10.15.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

homebrew 安装之后,command not find 已安装过的应用,如何解决?

➜ ~ node -v
zsh: command not found: node
➜ ~ git version
git version 2.37.0 (Apple Git-136)
➜ ~ nvm
zsh: command not found: nvm
➜ ~
➜ ~
➜ ~ mysql
zsh: command not found: mysql
➜ ~ yarn -version
zsh: command not found: yarn

无法通过命令使用 nvm,node, npm, yarn, mysql 等应用程序。
请问如何解决?

可以更新至3.0版本吗?

Homebrew 今天出了 3.0 版本,已经原生支持 M1 芯片了。
但是,直接从官网链接安装,即使开了 SS 还是有速度较慢的问题。
期待大佬可以更新一下 CDN 镜像。

m1安装yum时 formulae 找不到,FAQ给出的答案并不能解决

% brew install yum
Warning: No available formula with the name "yum".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.