homebrew

homebrew uninstall/move macports UNDO [closed]

☆樱花仙子☆ 提交于 2019-12-12 05:08:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . brew doctor told me to move macports: sudo mv /opt/local ~/macports So I did that and now nothing works properly. What would be the command to move macports back to where it was? 回答1: I think you mean: sudo mv ~/macports /opt/local mv is a standard unix shell command to move files and directories. 来源: https:/

brew and gem both throws 'Permission denied' error whenever I run it

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 04:56:29
问题 This happens whenever I ran 'gem' or 'brew': /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:75:in `initialize': Permission denied - /Library/Ruby/Gems/2.0.0/specifications/cocoapods-plugins-0.4.2.gemspec (Errno::EACCES) from /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:75:in `open' from /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:75:in `data' from /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:178:in `valid?' from /Library/Ruby/Site/2.0.0/rubygems

Install Ruby 2.0.0 on an old Mac OS 10.7.5 Lion

安稳与你 提交于 2019-12-12 04:48:00
问题 I have tried to upgrade the Ruby version on an old Mac I got, but without any success. I know its possible because of this guy here asking how to upgrade from 2.2 Here is what I entered in the Terminal: rvm install 2.0.0 Result: Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.7/x86_64/ruby-2.0.0-p648. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for osx. Installing

Update Node.js: Error while updating Node.js on Mac

自作多情 提交于 2019-12-12 04:28:51
问题 I am using mac. I have currently installed Node.js 4.4.3 Aleeshas-MacBook-Air:~ aleesha$ node -v v4.4.3 I want to update Node.js to it's latest version by following these steps. First I tried to execute: brew update . However, I was getting the below error when I executed the command: brew update Error: /usr/local is not writable. You should change the ownership and permissions of /usr/local back to your user account: sudo chown -R $(whoami) /usr/local So after searching for solution on

Unable to install Elasticsearch on Mac Sierra (10.12.2)

馋奶兔 提交于 2019-12-12 04:16:52
问题 When attempting to start Elasticsearch 5.1.1 via $ elasticsearch I get the output: Error: Could not find or load main class -Xms2g I've looked into: I read it may be an error in how a class is called? But I'm not exposed to doing that. This thread doesn't help and isn't really my problem as I'm not installing a plugin. I installed via Homebrew. Here is some output from that: $ brew info elasticsearch elasticsearch: stable 5.1.1, HEAD Distributed search & analytics engine https://www.elastic

Error installing imagemagick with homebrew

筅森魡賤 提交于 2019-12-12 03:39:01
问题 I'm trying to install imagemagick via home brew and am getting the following error: Error: Failed executing: make install (imagemagick.rb:97) These existing issues may help you: https://github.com/mxcl/homebrew/issues/13618 Otherwise, this may help you fix or report the issue: https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist I've completely uninstalled xcode and reinstalled it and command line tools and its still throwing this error. brew doctor is thorwing some warnings: Warning:

Problems with Homebrew on Yosemite

拈花ヽ惹草 提交于 2019-12-12 03:36:24
问题 I'm a newbie to Homebrew, having some problems. Can anyone help? I've been using step-by-step instructions from the belowmentioned website but I ran into a wall. Here's what brew doctor tells me. I can't install "winetricks" because "freetype" is disabled. I can't "link freetype" because "Linking /usr/local/Cellar/freetype/2.5.5... Error: Could not symlink include/freetype2/config /usr/local/include/freetype2 is not writable." http://www.techboxed.com/news/how-to-get-star-wars-the-old

Virtualenv in Mac OSX -bash: command not found issue

家住魔仙堡 提交于 2019-12-12 03:29:33
问题 I'm having a really hard time trying to use virtualenv on Mac OSX Mountain Lion. I installed XCode, python2.7 with Homebrew and virtualenv + virtualenvwrapper using sudo PIP. I've added usr/local/share/python to my $PATH and also followed the advice given on this site: http://hackercodex.com/guide/python-virtualenv-on-mac-osx-mountain-lion-10.8/ and edited my ~/bashrc accordingly. But when I run virtualenv ENV I get: -bash: virtualenv: command not found I've been through steps outlined in a

macOS Sierra/Python2.7.13 URLError: <urlopen error EOF occurred in violation of protocol (_ssl.c:661)>

我怕爱的太早我们不能终老 提交于 2019-12-12 03:27:21
问题 I have been searching/trying everything I could find on Stack Overflow, but no joy. I am new to Python, so I apologize now for my ignorance, but very eager/excited to learn. macOS Sierra v10.12.5 (early 2011) Python v2.7.13 urllib==1.21.1 urllib2==1498656401.94 urllib3==1.21.1 Homebrew installed Here is the error I am receiving: Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more

OSX “clang++ -lboost_mpi”` ->“ld: library not found for -lboost_mpi” after brew install boost --with-mpi

自闭症网瘾萝莉.ら 提交于 2019-12-12 02:57:36
问题 After installing boost with mpi support using brew I still get the error ld: "library not found for -lboost_mpi" when I run clang++ -lboost_mpi . What can I do to overcome this? I installed boost using brew: $ brew install boost --with-mpi --without-single ==> Downloading https://downloads.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.bz2 Already downloaded: /Library/Caches/Homebrew/boost-1.58.0.tar.bz2 ==> ./bootstrap.sh --prefix=/usr/local/Cellar/boost/1.58.0 --libdir=/usr