Solved

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

Posted on 2013-01-22
7
1,018 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
ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
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 …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

636 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