Solved

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

Posted on 2013-01-22
7
1,004 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 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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

947 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

23 Experts available now in Live!

Get 1:1 Help Now