Macbook上满足apt-get/yum的工具:Homebrew

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cds86333774/article/details/51273707

官网:

http://brew.sh/

安装:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

使用:

和apt-get类似
$ brew install wget

安装目录:

Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

$ cd /usr/local
$ find Cellar
Cellar/wget/1.16.1
Cellar/wget/1.16.1/bin/wget
Cellar/wget/1.16.1/share/man/man1/wget.1

$ ls -l bin
bin/wget -> ../Cellar/wget/1.16.1/bin/wget

猜你喜欢

转载自blog.csdn.net/cds86333774/article/details/51273707
今日推荐