Solved

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

Posted on 2013-01-22
7
1,010 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
ID: 38807685
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
ID: 38807758
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 83

Expert Comment

by:Dave Baldwin
ID: 38807780
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
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 1

Accepted Solution

by:
stephenlecomptejr earned 0 total points
ID: 38807809
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 83

Expert Comment

by:Dave Baldwin
ID: 38807952
Good for you and thanks for the points.
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 38807994
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
ID: 38823872
I appreciate the replies and hope for such more in the future!  =)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sluggish MBP browser 17 94
Hard Reset iPhone 11 65
Me. Patrol Video app on a Mac 3 43
Mac Computer does not load Chrome profile or Apple Mail 8 16
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

763 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