Skip to main content

Questions tagged [homebrew]

`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.

Filter by
Sorted by
Tagged with
236 votes
3 answers
97k views

How can I remove outdated installed versions of Homebrew packages?

How can I remove outdated versions of Homebrew packages that are installed side-by-side with current versions?
aknuds1's user avatar
  • 9,428
153 votes
2 answers
198k views

How do you re-install a package with Homebrew (Mac)?

Struggling to find good Homebrew documentation (or tutorial)... In the mean time I need to reinstall ImageMagick that was installed with Homebrew (brew install imagemagick) and not sure if I should ...
Meltemi's user avatar
  • 6,987
105 votes
11 answers
272k views

How should I set the PATH variable on my Mac so the Hombrew-installed tools are found?

Trying to set up Homebrew on a new Mac (on previous Macs I would install packages from source). The first package I tried to install was Git: $ brew install git Installation went OK, but which git ...
Meltemi's user avatar
  • 6,987
96 votes
11 answers
64k views

brew upgrade broke Vim on OS X (dyld: Library not loaded)

I've not run brew update && brew upgrade for a long time. I just did a massive upgrade which turned out to broke my Vim. This is what I got after running vim: dyld: Library not loaded: /usr/...
Mateusz Piotrowski's user avatar
93 votes
8 answers
143k views

"FATAL: lock file "postmaster.pid" already exists"

I just reinstalled postgres via brew install postgres I ran initdb /usr/local/var/postgres -E utf8 but got this: The files belonging to this database system will be owned by user "atal421". This ...
AdamT's user avatar
  • 1,093
93 votes
7 answers
58k views

Is it safe to install both Homebrew and Macports on the same machine?

I have MacPorts installed on my iMac with a fair number of ports installed. I'm interested in trying out Homebrew, though, as I've heard many good things about it, and because I've noticed that it ...
Rich's user avatar
  • 2,300
90 votes
2 answers
69k views

How to clean unused homebrew dependencies

How to remove all homebrew packages wich are not used by any other package? Some packages are installed as dependency of other package. When packages are removed, dependent packages stay as leftovers. ...
dre-hh's user avatar
  • 1,583
87 votes
6 answers
110k views

How do I install ant on OS X Mavericks?

After upgrading to OS X 10.9 Mavericks, ant is no longer on my path. [126] 11:23:26 rkarl-mba-4:~/mobile-baselayer > ant zsh: permission denied: ant [126] 11:23:50 rkarl-mba-4:~/mobile-baselayer &...
Robert Karl's user avatar
87 votes
3 answers
179k views

how can I uninstall using homebrew?

Can I uninstall something I installed via homebrew using homebrew?
user27449's user avatar
  • 6,960
82 votes
7 answers
171k views

Can I install Homebrew without sudo privileges?

Homebrew nicely allows package installations without sudo privileges, but it seems that I need admin privileges to install Homebrew itself. I'd like to install Homebrew in a Mac environment where I ...
BenjaminGolder's user avatar
79 votes
9 answers
85k views

How to install Meld with Homebrew on Mac OSX?

To install meld on Mac OSX I try to run: brew install meld but I got the following error: Error: No available formula for meld What is the right way to install meld?
Misha Moroshko's user avatar
78 votes
7 answers
106k views

How do I restart redis that I installed with brew?

I used brew to install redis (a key/value store database server) for my node.js app. brew install redis However, it seems to disappear and is very volatile. Because I'm using redis as my session ...
chovy's user avatar
  • 1,165
77 votes
2 answers
22k views

How can Homebrew print a beer mug in Terminal?

Homebrew has a neat trick of printing out little icons next to its output. Like this: If I copy paste the icon it on its own and hit enter I get the result: -bash: $'?\237\215?': command not found ...
stib's user avatar
  • 4,319
74 votes
8 answers
34k views

Mac Homebrew and Wireshark

I've installed Wireshark(.org) using Homebrew. brew install wireshark at the end the script says ==> ./configure --prefix=/usr/local/Cellar/wireshark/1.2.7 --disable-dependency-tracking --disable-...
miku8's user avatar
  • 841
74 votes
6 answers
85k views

Where can I find a list of all formulas available for homebrew?

Is there a way to get a list of all formulas (packages) I can install using homebrew for Mac OS X?
BetaRide's user avatar
  • 2,349
70 votes
6 answers
33k views

How do I tell Homebrew to stop running brew update every time I want to install something?

Homebrew started running brew update automatically before every brew install. This means that I need to wait 10-20 seconds, depending on network speed, every time I want to install a package. This is ...
mrzool's user avatar
  • 905
54 votes
1 answer
55k views

Can't install Brew formulae correctly (Permission denied in /usr/local/lib)

I am installing a few Homebrew packages on a brand new Mac. However, there are some errors while linking: ln: ./libsvn_wc-1.dylib: Permission denied Error: The linking step did not complete ...
slhck's user avatar
  • 230k
42 votes
1 answer
11k views

homebrew show all pinned formulas

Homebrew has command, which tells it to stop upgrading mentioned formulas: $ brew pin $FORMULA Does anyone know if there is any homebrew command which shows the list of pinned formulas?
drew1kun's user avatar
  • 2,157
41 votes
4 answers
8k views

How to install software packages on a Mac? (MacPorts, Fink, anything better?)

On my Mac OS X machine, how would you recommend I install command line software and other packages? I've been using MacPorts and it always seems quite slow, presumably because it has to compile the ...
Sophie Alpert's user avatar
39 votes
1 answer
123k views

remove package installed by brew

Package name : sbt Path : /usr/local/cellar/sbt what I have try : sudo rmdir sbt -i on my terminal but get "rmdir: sbt: Directory not empty"
william's user avatar
  • 393
38 votes
3 answers
24k views

Homebrew vs Fink vs Macports? [closed]

I am using Fink to install Unix apps on my mac, I just came across Homebrew and saw some good reviews about Homebrew. So, my question is: What package manager do you guys use for Mac? I use Fink ...
zengr's user avatar
  • 1,364
37 votes
4 answers
126k views

How to install libssl-dev ,libffi-dev on Mac os?

I can install libssl-dev and libffi-dev on Ubuntu with the command apt-get install libssl-dev libffi-dev, But I can't install on Mac; I have tried using the command: brew install libssl-dev libffi but ...
Jackie's user avatar
  • 371
36 votes
4 answers
19k views

Error: mongodb: unknown version :mountain_lion

I am running these simple commands on mac: brew upgrade mongodb or brew install mongodb I am getting this error below: Error: mongodb: unknown version :mountain_lion If i run the simple ...
Tray Fleary's user avatar
31 votes
6 answers
26k views

How do I reinstall all packages installed with Homebrew?

I recently had an issue where all of my linked binaries were removed from /usr/local/bin/. Fortunately, most of these were just dynamic links to binaries installed with Homebrew, so after ...
JAL's user avatar
  • 425
31 votes
5 answers
13k views

How to determine which brew package provides a given file?

Is there a way to figure out which brew package provides a given file (like apt-file on Ubuntu or pkgfile / pacman -F on Arch)? I'm not talking about querying which locally installed package owns a ...
mgalgs's user avatar
  • 2,422
29 votes
2 answers
13k views

No available formula for “pdfunite” in Homebrew?

I am on Mac OS X 10.10 (Yosemite) and I am new to Bash. I am trying to install pdfunite. I installed Homebrew and ran the following command: brew install pdfunite And I received Error: No ...
Remi.b's user avatar
  • 2,661
28 votes
1 answer
43k views

is there any equivalent/branch of Homebrew for Windows? [duplicate]

Possible Duplicate: Package managers for Windows Homebrew is a package manager for macOS mimicking Linux ones (think about apt-get as a canonical example). Obviously, it has some trendy features, ...
Riduidel's user avatar
  • 1,567
27 votes
3 answers
66k views

How do I fix "Library not loaded: libssl.1.0.0.dylib" with PostgreSQL?

After deleting Macports, I've had some strange behaviour. When I try to run PostgreSQL via CLI, I get: pawel:~ pawel$ psql dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib Referenced ...
Simpleton's user avatar
  • 821
26 votes
1 answer
34k views

PostgreSQL homebrew installation lacks config files

So I successfully installed PostgreSQL 9.1 on MacOSX Lion. Unlike people say, I didn't have to change the PATH and no other version of PostgreSQL was installed on the system ($ psql --version shows ...
orion3's user avatar
  • 682
26 votes
3 answers
6k views

Installing Homebrew packages without linking

I'd like to install several versions of Ruby (or really any Homebrew package) without linking any of them. Basically, I'd like to treat any formula as keg-only. I can't seem to find a way to do this, ...
also's user avatar
  • 360
25 votes
2 answers
18k views

Symlink error when installing MySQL via Homebrew

Trying to install MySQL via Homebrew. The install seems to work fine but i get an error: "Error: The linking step did not complete successfully The formula built, but is not symlinked into /usr/local ...
Asad Syed's user avatar
  • 253
23 votes
1 answer
33k views

brew install [email protected] can't connect to local MySQL server through socket

I needed MySQL 5.7 installed on Mac OS High Sierra so I ran brew install [email protected]. When I do brew services list I see [email protected] started admin /Users/admin/Library/LaunchAgents/homebrew.mxcl.mysql@5....
EcomEvo's user avatar
  • 1,133
22 votes
2 answers
23k views

Using git-gui on Mac with Homebrew

I have Git installed with Homebrew. However, git-gui doesn't seem to come stock in /usr/local/bin. This answer suggests I should create an alias to usr/local/git/libexec/git-core/git-gui, but this ...
jonallard's user avatar
  • 1,366
22 votes
3 answers
41k views

Warning: Unbrewed dylibs were found in /usr/local/lib

When I enter the command brew doctor I get the error below. This this something to worry about? Im very new to command line stuff. Im using homebrew to install Drush (for Drupal). Last login: Wed ...
Evanss's user avatar
  • 1,288
21 votes
3 answers
32k views

Cannot start mysql: InnoDB: Upgrade after a crash is not supported

I am trying to run MySQL from a Homebrew installation, but it keeps failing when trying mysql.server start. My /usr/local/var/mysql/<name>.local.err reads as so, and keeps sending this error ...
nipponese's user avatar
  • 1,144
21 votes
3 answers
40k views

How can I find all installable versions with brew?

Suppose I have a component foo that has versions 2.1, 2.2, 2.2.1 and 3.0 available. Suppose I have installed version 2.1. How do I tell brew to get the latest version in the 2.x line but not 3.0? Is ...
Michael_Scharf's user avatar
20 votes
2 answers
23k views

brew install gettext, should i force link it?

I am doing some web development and the translation engine requires gettext. Should I force link it? $ django-admin.py makemessages -l es CommandError: Can't find xgettext. Make sure you have GNU ...
broinjc's user avatar
  • 305
20 votes
5 answers
85k views

How to install PHP, Pear, PECL, and APC with Homebrew on Mac OS X?

I'm trying to install APC for PHP 5.3 in the easiest way possible. I love Homebrew so I started down that route. I was able to install PHP 5.3.6 with this command: brew install https://github.com/...
Andrew's user avatar
  • 15.1k
20 votes
3 answers
73k views

Install GParted on a mac with Homebrew or Macports?

I'd like to install Gparted on my mac, and I thought I could use Homebrew or Macports to help with that, but I can't seem to figure it out. I tried using Homebrew because I haven't really heard good ...
Hebon's user avatar
  • 391
19 votes
10 answers
26k views

How to install matplotlib on OS X?

I want to install matplotlib on OS X. If possible, using homebrew. I installed Python 2.7.1 using brew install python, I modified my path to use it I installed pip using brew install pip I installed ...
bastibe's user avatar
  • 3,892
19 votes
4 answers
25k views

Brew installed, linked, but not found

I just installed mtr via Homebrew, and it completed seemingly successfully (i.e., nothing unusual). MBA% mtr zsh: command not found: mtr That's odd. I figured I'd try again: MBA% brew install mtr ...
OJFord's user avatar
  • 621
18 votes
3 answers
31k views

Errors in Homebrew on OS X Lion

I just ran the Homebrew script as described in the installation page. I then ran brew doctor in Terminal, and it returned several errors. I'm not sure how to fix those errors, please help. brew ...
segfault's user avatar
  • 1,450
18 votes
3 answers
22k views

OS X Yosemite - Too many files open

I recently upgraded from Mavericks to Yosemite....headaches ensued I'm pretty sure my problem lies w/ the number of files I can open - but I'm not sure how to solve it. I'm also pretty sure I've ...
veilig's user avatar
  • 961
17 votes
6 answers
15k views

Can't use homebrew installed git

I'm encountering a really weird issue when I try to use the latest version of git I just installed via homebrew. which git is pointing me to the homebrew install, but calling git returns the original ...
Matt Stone's user avatar
16 votes
2 answers
16k views

How do I find out where brew links end up?

brew link puts symlinks all over the place. How do I find out where, for a particular package? For example, I have cairo installed via brew. brew list cairo shows me a list of installed files. When I ...
Brandon's user avatar
  • 163
16 votes
1 answer
9k views

MySQL Preference Pane control for MySQL installed via Homebrew

this is a repost of my question at apple.stackexchange.com I have installed MySQL via homebrew: brew install mysql. I'd like to get the MySQL preference pane hooked up to my installation of MySQL ...
Derek's user avatar
  • 281
15 votes
6 answers
25k views

How can I install PHPmyadmin on Mac Lion using Homebrew

How can I install PHPmyadmin using homebrew, if that possible. I'm using Mac 10.7. I installed Homebrew, and it's working perfectly. I use it to download php 5.4 and mysql. Both are working perfectly,...
HTML Man's user avatar
  • 253
15 votes
4 answers
45k views

pip not working on hombrew python 2.7 install

I've installed python using homebrew and I can't invoke pip from the bash. I've tried amending my .bash_profile to include /usr/local/bin/python and /usr local/share/python to no avail. When I use ...
YoungPadawan's user avatar
15 votes
1 answer
33k views

Change install location and prefix of homebrew packages

My /usr/local and /usr/local/bin permissions on my machine are different from traditional machines (and they have to be that way). Is it possible to configure homebrew to install in a different ...
user462455's user avatar
14 votes
3 answers
11k views

How to find out a file belongs to which package in Mac OS X?

Is there a way to find out which Application / package owns or creates a specific file? For example, in Linux these commands will show the package owner apt-file /bin/progname rpm -qf /bin/progname ...
hanxue's user avatar
  • 3,048

1
2 3 4 5
11