5 Star 30 Fork 5

RubyMetric / linuxbrew-cn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-2-Clause

linuxbrew-cn

Package manager brew installer on Linux

安装

首先需要确保您的系统已安装

  1. git
  2. Ruby >= 2.6
  3. curl
# 安装
bash -c "$(curl -fsSL https://gitee.com/RubyMetric/linuxbrew-cn/raw/main/install.sh)"

# 卸载
bash -c "$(curl -fsSL https://gitee.com/RubyMetric/linuxbrew-cn/raw/main/uninstall.sh)"

安装阶段两次pull

  1. 第一次 50MB 左右
  2. 第二次 400MB 左右

常用命令

# 安装某个包
brew install formula-name

# 卸载某个包
brew remove formula-name

# 升级某个包
brew upgrade formula-name

# 清理下载的过时文件
brew cleanup

# 更新Homebrew和所有的formulae
brew update -v

Changelog

2022.2.7

上游的linuxbrew-core已经停滞几个月了,它们重新合并进入了homebrew-core.

  1. 安装脚本与上游同步
  2. 切换至homebrew-core
  3. 继续使用tuna镜像
  4. 同步上游卸载脚本

阿里云提供的镜像无法使用,继续使用回tuna

在以下系统上测试通过:

  1. Ubuntu 21.04

2020.8.5

根据HomebrewCN,创建该仓库,使用清华大学tuna镜像站提供的仓库.

在以下系统上测试通过:

  1. Ubuntu 20.04
  2. Ubuntu mate 20.04

BSD 2-Clause License Copyright (c) 2009-present, Homebrew contributors Copyright (c) 2020-present, Aoran Zeng All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

🍺 Linuxbrew 国内一键安装脚本 展开 收起
Shell
BSD-2-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/RubyMetric/linuxbrew-cn.git
git@gitee.com:RubyMetric/linuxbrew-cn.git
RubyMetric
linuxbrew-cn
linuxbrew-cn
main

搜索帮助