homebrew命令
来源:互联网 发布:neta软件百度云 编辑:程序博客网 时间:2024/05/29 08:31
brew常用命令
查看brew的帮助
brew –help
安装软件:
brew install git
卸载软件
brew uninstall git
搜索软件
brew search git
显示已经安装软件列表
brew list
更新软件,把所有的Formula目录更新,并且会对本机已经安装并有更新的软件用*标明。
brew update
更新某具体软件
brew upgrade git
查看软件信息
brew [info | home] [FORMULA...]
删除程序,和upgrade一样,单个软件删除和所有程序老版删除。
brew cleanup git brew cleanup
查看那些已安装的程序需要更新
brew outdated
其它Homebrew指令:
brew list —列出已安装的软件brew update —更新Homebrewbrew home *—用浏览器打开brew info *—显示软件内容信息brew deps * — 显示包依赖brew server * —启动web服务器,可以通过浏览器访问http://localhost:4567/ 来同网页来管理包brew -h brew —帮助
homebrew本身就是一个git仓库。使用homebrew安装软件包时,会自动先下载软件包,然后解压安装,但有时候下载会卡住,或者很慢,这个时候你可以通过其他工具先将所需的软件包下载 下来,注意版本一定要对应,homebrew放置软件包源码的路径为/Library/Caches/Homebrew/,只要你将所需要的软件包下载正 确的版本,放置在此目录下,那么再使用brew install xxx的时候,brew就能直接安装了,有时候brew install xxx卡在下载界面,这招很管用。
Making a formula is easy. Just brew create URL and then brew install $FORMULA (perhaps with --debug --verbose). Basically, a formula is a Ruby file. You can place it anywhere you want (local or remote) and install it by pointing to the file or URL.formula文件位置:/usr/local/Library/Formula/foo.rb 存放安装工具的rb文件Packages are installed according to their formulae, which live in $(brew --repository)/Library/Formula. Check some out. You can view any formula at anytime; e.g. brew edit wget.
另外说明下,brew安装程序的过程中需要用到苹果的xcode中的 编译器,你可以到苹果的官网中免费下载安装(需要注册免费的开发者,然后才能下载),安装后到属性(Xcode – Perference–Downloads–Components–Command Line Tools)点击下载就可以了
Homebrew工具地址:https://github.com/Homebrew/homebrew
个人命令:启动命令:mysql.server start查看字符集:mysql> show variables like '%char%';homebrew命令集:安装软件:brew install 软件更新软件:brew update 软件卸载软件:brew uninstall 软件
0 0
- HomeBrew命令
- homebrew命令
- homebrew命令
- Homebrew基本操作命令
- 【转】Homebrew 隐藏命令
- Homebrew命令详解
- Homebrew versions命令失效
- macOS安装homebrew命令
- Homebrew
- homebrew
- Homebrew
- Homebrew
- homebrew
- Homebrew
- Homebrew
- HomeBrew
- HomeBrew
- HomeBrew
- java regular expression
- 处理redis连接数过多
- 放大器指标:1db压缩点
- 网络爬虫讲解(附java实现的实例)
- HttpModule与HttpHandler详解
- homebrew命令
- hi3520d点亮led小灯
- PAT 1012 The Best Rank
- bzoj 2194: 快速傅立叶之二 (FFT)
- Ubuntu解压命令集
- python enumerate()
- laravel学习3
- 使用_CrtSetDbgFlag检测内存泄露
- Python Intro