Solved

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

Posted on 2013-01-22
7
1,007 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
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…
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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