IOS 开发学习 十七MAC上安装使用homebrew
来源:互联网 发布:apache spark 加载数据 编辑:程序博客网 时间:2024/05/21 22:46
1.安装
网址:http://brew.sh/index_zh-cn.html
git托管地址:https://github.com/Homebrew/homebrew/tree/master/share/doc/homebrew
homebrew是maxos下的套件管理器
在命令行输入命令:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Homebrew会将套件安装到独立目录,并将文件软链接至/usr/local
2.Homebrew可以用来做什么:
brew install wget
$ cd /usr/local$ find CellarCellar/wget/1.16.1Cellar/wget/1.16.1/bin/wgetCellar/wget/1.16.1/share/man/man1/wget.1$ ls -l binbin/wget -> ../Cellar/wget/1.16.1/bin/wget
创建Homebrew程序:
rew create https://foo.com/bar-1.0.tgzCreated /usr/local/Library/Formula/bar.rb
程序示例:
class Wget < Formula homepage "https://www.gnu.org/software/wget/" url "https://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz" sha1 "f3c925f19dfe5ed386daae4f339175c108c50574" def install system "./configure", "--prefix=#{prefix}" system "make", "install" endend
0 0
- IOS 开发学习 十七MAC上安装使用homebrew
- 在Mac上使用Homebrew安装软件
- Mac上使用homebrew安装PostgreSql
- mac上安装homebrew
- 在MAC上安装homebrew
- 在mac上安装homebrew
- 【iOS开发】Mac OS下包管理器Homebrew的安装与使用
- Mac上Homebrew的使用
- Mac上Homebrew的使用
- Mac上使用homebrew安装PostgreSql 相关总结
- Mac OS X上安装和使用Homebrew和Homebrew Cask来进行软件安装管理
- Mac安装和使用HomeBrew
- mac 使用 Homebrew 安装 mysql
- Mac安装Homebrew以及使用
- Mac使用homebrew安装PHP7
- 在mac上通过Homebrew安装redis
- 在mac上通过Homebrew安装redis
- mac上配置git,及Homebrew安装
- 初识博客.
- 【leetcode】 Regular Expression Matching
- 和最大子序列---动态规划
- java多线程系列----------- 共享受限资源(一)
- UCGUI在STM32平台移植经验(无操作系统)
- IOS 开发学习 十七MAC上安装使用homebrew
- 【练习题】根据下列信息计算在1901年1月1日至2000年12月31日间共有多少个星期天落在每月的第一天上?
- parameter passing in python
- 黑马程序员-----7K面试题之交通灯系统
- QT for Android解决The Platform Tools component is missing
- iOS延迟时间再执行某个事件
- Excel--Create an Excel Pivot Table report using VBA
- tomcat总结
- HM16-2 参考模型 函数调用