洛竹 洛竹
3年前
发布一个 Homebrew 包
相关概念Keg(酒桶)安装好的脚本、软件等。比如gh,如果有安装。执行下面的指令可查看位置:shellopen/usr/local/bin/ghCellar(酒窖)所有用Homebrew安装在本地的脚本、软件组成的集合。可以通过以下指令查看本地目前都安装了哪些脚本:shellopen/usr/local/Ce
Stella981 Stella981
2年前
Mac OSX 添加 Bash 自动补全支持
安装bashcompletion1.用homebrew(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fbrew.sh)安装bashcompletion软件包:brewinstallbashcompletion2.把下面内容添加到你的~/.b
Stella981 Stella981
2年前
Mac下安装mongdb
使用homebrew安装MongoDB:brewinstallmongodb这时MongoDB将被安装在/usr/local/Cellar/mongodb/4.0.3\_1(我的MongoDB版本是4.0.3\_1)3.配置MongoDB:安装完MongoDB后,需要配置一下MongoDB
Stella981 Stella981
2年前
Mac 使用brew安装低版本的软件,如opencv
由于Mac中使用homebrew安装的库都是最新的,有时需要老版本的软件,就很难办。在工作中想用opencv3.3,但是使用brew安装的都是3.4,后来查到个方法,就是指定需要安装的opencv.rb文件使用brewinfoopencv可以看到:(最新的是3.4,我安装的是3.3)opencv:stable3.4.0(bottled
Stella981 Stella981
2年前
Mac下安装 MongoDB
2018年更新:更为简单的方法:通过homebrew安装:brewinstallmongodb如果报错: mongodb:AfullinstallationofXcode.app8.3.2isrequiredtocompilethissoftware.Installingjustthe
Stella981 Stella981
2年前
MacOS在没有安装xcode情况下使用homebrew
当没有xcode时,我们使用homebrew会提示出错。Error:Failurewhileexecuting:/usr/bin/otoolL/usr/bin/install\_name\_tool或者出现Error:The/usr/localdirectoryisnotwritable.Evenifthisd
Stella981 Stella981
2年前
Mac OS X 的包管理器 HomeBrew
Homebrew是最简单和灵活的方式,用来在MacOSX安装Linux工具包。Homebrew国内高速安装脚本:https://gitee.com/cunkai/HomebrewCN(https://gitee.com/cunkai/HomebrewCN)安装过程很简单:ruby e "$(curl f
Stella981 Stella981
2年前
MAC安装Python开发环境
Mac自带了Python2.7所以,此先跳过为了软件安装方便,先安装Brew,在终端中输入rubye"$(curlfsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"安装MariaDBbrewinstallmariadb启动命令mysql.se
Stella981 Stella981
2年前
Mac安装Redis
使用Homebrew安装Redis(1)安装命令brew install redis(2)查看软件安装及配置文件位置Homebrew安装的软件会默认在/usr/local/Cellar/路径下;redis的配置文件redis.conf存放在/usr/loca