Solved

New to mac and trying to install homebrew but install fails.

Posted on 2013-01-22
7
1,001 Views
Last Modified: 2013-01-27
So I'm in terminal and run the following:
svradmin$ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

-----------------------------
And get the following error message:
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
    rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

------------------------------
So I copy and paste the above and get the following error message:
-bash: m: command not found

I've found this great web url that addresses this but I'm concerned about trying some of the stuff:
https://github.com/mxcl/homebrew/issues/14319
--------------------------------

One of which is to delete /usr/local when I know I have MySQL installed already there.
-----------------------------

I've also tried this step by step process in Terminal and it obviously didn't work:
http://superuser.com/questions/203707/how-to-uninstall-homebrew-osx-package-manager
------------------------------


So my question is - How do I uninstall homebrew with this situation?

Thank you for any replies.  I do have more questions and will break out such in further posts!  Please be patient with me in having this question this way for now.
0
Comment
Question by:stephenlecomptejr
  • 4
  • 3
7 Comments
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
Comment Utility
Generic commands like "delete /usr/local" are very dangerous.  The underlying system for Macs was based on FreeBSD, a version of Unix.  The Mac OSX operating system hides a lot of that to make a system that is easy for non-technical users to operate.  Mostly.  If you are going to start working in 'terminal' on the command line, you will have to learn the Unix commands for viewing and doing things.  'usr/local' will never appear in Finder.

Here's some history and basic info to help you: http://www.mac-guides-and-solutions.com/mac-unix.html
0
 
LVL 1

Author Comment

by:stephenlecomptejr
Comment Utility
I'm sorry if you read what I had before I edited.  Tried to keep it as one question.
I still need exact help on uninstalling HomeBrew.

As regards your statement that usr/local will never appear in Finder.
It does and once you open Finder - you go to Go at the Top - select Go To Finder and then type /usr - that folder and all the subs appear.

Again need some help with uninstalling HomeBrew!  Any comments towards that will be appreciated!
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
I've never dealt with Homebrew so I can't help you there.  But with some of the things you have posted, I think you need to make a complete backup before you proceed.  I would hate to lose everything I've installed because of instructions like that.

Good info on Finder though, I had never tried that.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 1

Accepted Solution

by:
stephenlecomptejr earned 0 total points
Comment Utility
I read the post more closely (https://github.com/mxcl/homebrew/issues/14319) and this had worked (without deleting the /urs/local folder)

cd /usr/local && /bin/bash -o pipefail -c '/usr/bin/curl -skSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1'
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
Good for you and thanks for the points.
0
 
LVL 1

Author Comment

by:stephenlecomptejr
Comment Utility
Hey it says in your profile you are a PHP expert - right?

http://www.experts-exchange.com/Apple/Programming/Q_28004932.html

Please help if you can!
0
 
LVL 1

Author Closing Comment

by:stephenlecomptejr
Comment Utility
I appreciate the replies and hope for such more in the future!  =)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
Information security is a multi-billion dollar industry. Just as lucrative is the black market industry which trades stolen identities, credit card numbers and software exploits all over the world. Nothing is hack-proof. The best one can do is make …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now