BREW

Install gitk on Mac

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Does anyone know how to install gitk on Mac? From their official website, it seems gitk comes with git, but the version of my git ( git version 1.7.12.4 (Apple Git-37) ) does not come with gitk. brew install gitk does not work for gitk. Version info (copied from comments): OS X 10.8.2 (12C2034) "Mountain Lion" XCode Version 4.6 (4H127) 回答1: Correct, the 1.7.12.4 (Apple Git-37) does not come with gitk. You can install a more recent version of git which comes with gitk by using brew. More thorough instructions located here: http://www

brew install libyaml ERROR

匿名 (未验证) 提交于 2019-12-03 01:06:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: $ brew install libyaml ==> Downloading http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz Already downloaded: /Library/Caches/Homebrew/libyaml-0.1.4.tar.gz ==> ./configure --prefix=/usr/local/Cellar/libyaml/0.1.4 ==> make install Warning: Could not link libyaml. Unlinking... Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local You can try again using `brew link libyaml' ==> Summary ? /usr/local/Cellar/libyaml/0.1.4: 7 files, 336K, built in 9 seconds OS X 10.8.2 how do I fix this

Home Brew PHP 7.2.5 Install with cURL

匿名 (未验证) 提交于 2019-12-03 01:00:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a localhost development environment on my Mac that uses homebrew's php formula and I'm pulling my hair out trying to install with a custom path to cURL rather than the default Mac OS version (v7.54.0) that uses SecureTransport for SSL. SecureTransport causes a lot of issues with SSL requests to remote services, so OpenSSL is pretty much a requirement for my purposes. Here's the process I've taken so far: Installed curl through home brew with OpenSSL: brew install curl --with-openssl Edited brew's php formula to modify the compile

Matplotlib install failure on Mac OSX 10.8 Mountain Lion

匿名 (未验证) 提交于 2019-12-03 00:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I tried to install matplotlib on my MacBook Air, but it always gives me this error message: Processing matplotlib-1.1.1_notests.tar.gz Running matplotlib-1.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3jFpXK/matplotlib-1.1.1/egg-dist-tmp-jC7QY3 basedirlist is: [] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.1.1 python: 2.7.2 (default, Jun 20 2012, 16:23:33) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] platform: darwin REQUIRED DEPENDENCIES numpy

mac 开发环境安装

匿名 (未验证) 提交于 2019-12-03 00:39:02
0: 安装brew : mac终端输入: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 1:使用brew安装git命令: brew install git 2: jdk安装: brew install java (输入后默认安装的是jdk最新版本)   制定安装jdk版本(这里命令以安装jdk8为例): brew tap caskroom/versions brew cask install 两步骤搞定 原文:https://www.cnblogs.com/ganbo/p/9247871.html

brew: MacOS的包管理工具

匿名 (未验证) 提交于 2019-12-03 00:30:01
brew是MacOS上的包管理工具,像RHEL/CentOS上的yum或者Ubuntu上的apt-get一样,MacOS上使用brew也可以非常容易进行包的管理。 项目 说明 官方网站 https://brew.sh 开源/闭源 开源 License类别 BSD 2-Clause “Simplified” License 代码管理地址 https://github.com/Homebrew/brew 开发语言 Ruby 支持平台 MacOS 当前版本 1.6.9 (2018/06/18) 因为brew是ruby开发的,需要使用确认ruby已经安装,缺省状况下是已经安装的。 liumiaocn: ~ liumiao$ which ruby /usr/bin/ruby liumiaocn: ~ liumiao$ ruby -v ruby 2.3 .3 p222 ( 2016 - 11 - 21 revision 56859 ) [universal .x 86_64-darwin17] liumiaocn: ~ liumiao$ 具体的安装脚本在raw.githubusercontent.com已有,使用如下命令即可安装 安装命令:ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install

homebrew & brew cask使用技巧及Mac软件安装

匿名 (未验证) 提交于 2019-12-03 00:20:01
homebrew 安装 /usr/bin/ruby -e " $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) " 命令 安装软件:brew install 软件名,例:brew install wget 搜索软件:brew search 软件名,例:brew search wget 卸载软件:brew uninstall 软件名,例:brew uninstall wget 更新所有软件:brew update 更新具体软件:brew upgrade 软件名 ,例:brew upgrade git 显示已安装软件:brew list 查看软件信息:brew info/home 软件名 ,例:brew info git / brew home git 显示包依赖:brew reps 显示安装的服务:brew services list 安装服务启动、停止、重启:brew services start / stop /restart serverName homebrew cask 安装 brew tap phinze/homebrew-cask brew install brew-cask 软件列表 可视化homebrew安装工具 brew cask install

非brew安装RabbitMQ

匿名 (未验证) 提交于 2019-12-03 00:20:01
因为我的mac系统一直没有更新,所以没办法用brew安装RabbitMQ mac版本10.10 下面是一个下载安装包安装的教程。 1 下载rabbitMQ安装包 wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.3/rabbitmq-server-mac-standalone-3.5.3.tar.gz 2 解压,并将目录名改成一个友好的名字。我是改成了rabbitmq-server 3 进入sbin目录 ,执行./rabbitmq-server 5 另起终端,进入sbin目录 执行 sudo ./rabbitmq-plugins enable rabbitmq_management(执行一次以后不用再次执行) 6、登录管理页面 浏览器输入:http: //localhost:15672/ 用户名,密码 guest/guest 参考文献: https://blog.csdn.net/MrZhangXL/article/details/53114616 文章来源: 非brew安装RabbitMQ

macOS home brew国内下载速度慢,替换清华大学源

匿名 (未验证) 提交于 2019-12-03 00:13:02
第一步,获取install文件 把官网给的脚本拿下来 1.打开terminal.app 粘贴 curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install >> brew_install 第二步,更改脚本中的资源链接,替换成清华大学的镜像 2.使用sublimeText打开文件 把这句屏蔽掉 BREW_REPO = "https://github.com/Homebrew/brew".freeze 加上这两句 BREW_REPO = "https://mirrors.ustc.edu.cn/brew.git".freeze CORE_TAP_REPO = "https://mirrors.ustc.edu.cn/homebrew-core.git".freeze 第三步,执行脚本 3.粘贴到终端 /usr/bin/ruby brew_install 遇到提示会车确认 控制台输出 wydeMacBook-Air:~ wy$ /usr/bin/ruby brew_install ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew

mac的公式编辑器: mathtype/latex

匿名 (未验证) 提交于 2019-12-03 00:11:01
mathtype 收费版,且马上不能在mac系统上使用 latex 搜索一下: ~ brew search latex ==> Formulae gnome - latex latex2html latex2rtf latexdiff latexml rtf2latex2e ==> Casks klatexformula latexdraw latexit If you meant "latex" specifically : There are three versions of MacTeX . Full installation : brew cask install mactex Full installation without bundled applications : brew cask install mactex - no - gui Minimal installation : brew cask install basictex 安装:brew install ghostscript;brew cask install basictex;brew cask install latexit 说明:安装mactex会默认安装latexit,但是mactex这个软件太大了,几个G,没有必要建议只安装latexit;但是必须安装brew cask install