homebrew

brew linkapps for homebrew casks (automatically create symlink to /Applications folder)

我是研究僧i 提交于 2019-12-22 08:46:17
问题 I am using homebrew and homebrew cask to manage my installations on my Mac with OS 10.10.5. After installing an app using "brew cask install", no symlink in the /Applications folder shows up. For apps installed via "brew install", a symlink to /Applications can be created by running the command "brew linkapps" – is there something similar for homebrew casks? In this particular case, some features of the LatexTools package for Sublime Text 2 did not work (open pdf viewer automatically and jump

Install Homebrew in a Mac

三世轮回 提交于 2019-12-22 08:25:36
问题 I am trying to install Homebrew in a Mac v 10.12.2 using brew install node But I got these errors: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- mach (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/Library/Homebrew/extend/pathname.rb:2:in `<top (required)>' from /System/Library

OSX proxy issue with homebrew install

假如想象 提交于 2019-12-22 05:52:10
问题 I have tried to do the required search for my problem but I did not get quite the answer I need. Objective: to install homebrew & work with homebrew OS I am using : OS X El Capitan The following is my problem: I am new to OS X & Homebrew. I am trying to install homebrew from my home network using the following command: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" but I get the following error: curl: (7) Failed to connect to "company_domain_ip" port

NGINX brew install command not found

99封情书 提交于 2019-12-22 04:13:19
问题 I do $ brew install nginx and get: ==> Downloading http://nginx.org/download/nginx-1.2.2.tar.gz Already downloaded: /Library/Caches/Homebrew/nginx-1.2.2.tar.gz ==> Patching patching file conf/nginx.conf ==> ./configure --prefix=/usr/local/Cellar/nginx/1.2.2 --with-http_ssl_module --with-pcre --with-ipv6 --with-cc-opt=-I/usr/local/include --with-ld-opt=-L/usr/local/lib --conf ==> make ==> make install ==> Caveats In the interest of allowing you to run `nginx` without `sudo`, the default port

Git cloning error: 'fatal: multiple updates for … ref not allowed'

南笙酒味 提交于 2019-12-22 03:48:54
问题 I'm getting an error when trying to git clone a repository: git clone https://github.com/laradock/laradock.git Cloning into 'laradock'... remote: Enumerating objects: 8606, done. remote: Total 8606 (delta 0), reused 0 (delta 0), pack-reused 8606 Receiving objects: 100% (8606/8606), 8.09 MiB | 6.92 MiB/s, done. Resolving deltas: 100% (4551/4551), done. fatal: multiple updates for ref 'refs/remotes/origin/LaraDock-ToolBox' not allowed This is happening for any repo I try to clone. I am running

Managing multiple Python versions on OSX

时间秒杀一切 提交于 2019-12-22 01:20:56
问题 What's the best way to manage multiple Python installations (long-term) if I've already installed Python 3 via brew? In the past Python versions were installed here, there, and everywhere, because I used different tools to install various updates. As you can imagine, this eventually became a problem. I once was in a situation where a package used in one of my projects only worked with Python 3.4, but I had recently updated to 3.6. My code no longer ran, and I had to scour the system for

How to resolve potential conflicts due to Anaconda and Homebrew?

纵然是瞬间 提交于 2019-12-21 23:23:47
问题 I have Anaconda and Homebrew installed in OSX. Homebrew provides the following diagnostics. What is the best way to resolve the potential conflicts between Anaconda and Homebrew? How should they be managed not to cause problems to each other? $ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning:

brew install php56-mongo Command Not working

若如初见. 提交于 2019-12-21 22:35:12
问题 I'm trying to install the MongoDB PHP driver for XAMPP on my OSX . When I run: brew install php56-mongo I get the following message: No available formula for php56-mongo Any thoughts on how to fix this? 回答1: $ brew tap homebrew/php $ brew install php56-mongodb 回答2: Recently they have deprecated the homebrew/php and archived homebrew/homebrew-php You can follow this repo in order to install phpxx-extensions Let's say for php71-mongodb you can use this. brew tap kyslik/php brew install php71

Trouble Installing Mac Homebrew

删除回忆录丶 提交于 2019-12-21 21:37:44
问题 I've tried the various forums and teh Google to no avail. I'm trying to install Mac Homebrew on OS X 10.6.8. When I try the install command from the Homebrew Homepage: ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) I get the following errors: host-197-7-0-10:~ rzazueta$ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 Press enter to continue ==> Downloading and Installing Homebrew

using travis-ci with wxpython tests

若如初见. 提交于 2019-12-21 21:29:16
问题 I'm trying to add some wxPython tests to work with travis-ci, but I can't figure out how to install wxPython in the build environment. I used brew to install wxPython on my computer, but I can't get brew to work with travis-ci. In the travis-ci docs, it appears that brew should come built-in: http://docs.travis-ci.com/user/installing-dependencies/#Installing-Mac-Packages, but as far as I can tell it doesn't. If I try to use brew, I get this error message: $ brew update /home/travis/build.sh: