Questions tagged [homebrew]
`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.
515
questions
2
votes
0
answers
406
views
Error while running services using Linuxbrew on Ubuntu
I am using Linux Ubuntu 16.04.
i need to install Homebrew for installing various applications like( kafka, redis, zookeeper, consul, Cassandra), but since i don’t use Mac, i have installed Linuxbrew ...
0
votes
3
answers
104
views
How can i find pathname of a file in macosx without moving to the specific directory where the file is located?
i want to go to specific file without searching for it by going in to all the directories and typing ls and all i know the file name and i want its path with just filename.Please help im new to unix ...
3
votes
2
answers
2k
views
brew: bash completions broken on macOS
I am using following bash completions installed via brew: bash-completion and bash-completion@2. My .bashrc looks like:
if [ -f /usr/local/share/bash-completion/bash_completion ]; then
. /usr/local/...
0
votes
1
answer
238
views
How to build php70-xdebug from master via Homebrew?
I've php70-xdebug package and I did the following steps:
Edited formula by brew edit php70-xdebug
Then replaced the following line:
url "https://pecl.php.net/get/xdebug-2.5.5.tgz"
with:
url "https:...
0
votes
0
answers
275
views
Brew build fails, how to fix brew these doctor-reported problems?
I wish I was programming, but I'm admin-ing instead. I want to install imagemagick with brew, but it fails to build. 1) brew doctor says:
Warning: "config" scripts exist outside your system or ...
69
votes
5
answers
32k
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 ...
3
votes
1
answer
15k
views
Why aren't pip-installed executables available from the command line?
I've installed Python with Homebrew. I would like to use pip to install additional packages, some of which come with executables that are meant to be called from the command line, for example crossbar ...
1
vote
0
answers
955
views
Homebrew throwing unable to load dynamic library error with all versions of PHP on macOS Sierra
When I install PHP using Homebrew, any extensions that I attempt to load (including the core extensions such as mysqli and gd2) throw an Unable to load dynamic library error during any usage. Is there ...
0
votes
1
answer
233
views
Redis will not start via bitbar / brew services start
Trying to get redis managed via bitbar's brew services plugin, I cannot; it silently fails, and running brew services start redis also silently fails. Equally, brew services list shows it as started, ...
1
vote
2
answers
2k
views
cmake - required package missing. Which package?
Whenever I run the command:
cmake ..
I get the following error regarding a package missing but I cannot seem to be able to find which package.
-- Checking for module 'glib-2.0>=2.40'
--
CMake ...
1
vote
1
answer
1k
views
Missing libarchive during Ardour manual building on macOS, after installation with brew
I'm just trying to manually build Ardour on macOS Sierra. I'm using this official manual. I'm at ./waf configure. That's what I get:
$ ./waf configure
Setting top to : /...
2
votes
2
answers
3k
views
nano language set to French when using version from homebrew
I just updated from OS X El Capitan to macOS Sierra this weekend. Everything went smoothly, until I opened nano this morning. Its settings are now in French:
I actually have 2 installations of nano ...
6
votes
1
answer
2k
views
Error installing Homebrew on macOS Sierra: The user "me" cannot be found
I need to install homebrew but I get this after pasting the command
The user "me" cannot be found
There was an unknown error.
This script requires the user “me” to be an Administrator. If ...
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 ...
0
votes
2
answers
638
views
xmgrace broken after brew package upgrades
I have a MacBook Pro (Retina, Mid 2012) with OS X El Capitan v. 10.11.6. I use xmgrace regularly for my work, and a week ago, I had no problems with it. On Sept. 20, 2016 I did 'brew update, outdated, ...
0
votes
1
answer
668
views
OSX Homebrew and Multiple Versions of Programs VIM
Vim is natively installed on MacOS. I recently installed VIM 8 using Homebrew.
Is there any way to remove the natively installed version of VIM?
Is it common practice to do so, or not?
I'm looking ...
4
votes
1
answer
2k
views
Debugging wine on OS X?
I installed wine using homebrew, and now I've been working on getting SolidWorks to run on OS X through wine, fixing the errors one by one.
Here's the error I'm currently stuck on:
err:winediag:...
2
votes
0
answers
2k
views
Broken zsh with chmod; trying to fix with compaudit
I have Homebrew zsh as my shell. I don't have root on my machine, but I do have an additional account with elevated privileges -- this is just how it's been set up by my work and I can't do anything ...
3
votes
1
answer
723
views
Why brew never asks for a password?
I have been an Ubuntu user for the last 3 years and now I shifted to Mac OS X. I set my account to be an admin user, and have my own space at /Users/<my-username>.
Each time I used to install ...
0
votes
1
answer
415
views
Getting "Error: Empty archive" when installing wine using homebrew
I am trying to install wine on my mac using homebrew following this tutorial: https://www.davidbaumgold.com/tutorials/wine-mac/
In step 4 when I do "brew install wine" I get the following:
==> ...
4
votes
1
answer
4k
views
Install a deleted homebrew formulae
Recently, homebrew decided to remove clang-omp from the list of formulae available to install from. Is there any way to retrieve it? Or would I have to download and build clang-omp bit manually?
1
vote
1
answer
5k
views
brew linkapps will not link emacs to the applications folder in El Capitan
I have installed emacs by typing brew install emacs. It has been installed successfully, but typing brew linkups --verbosesays:
No apps linked to /Applications
Is there a way that I could have emacs ...
0
votes
0
answers
738
views
brew install php70 with package
Sorry for this simple question, but I search a lot, I don't know how to do that.
I installed the php70 with another package
$ brew install php70
I found this option
$ brew info php70
...
--with-...
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"
0
votes
0
answers
100
views
Cannot Find ~/.profile, Only ~/.profile.swp (OSX)
I am in the process of installing Homebrew, but, when I go to edit ~/.profile, I am finding that only the binary file ~/.profile.swp exists. I have been reading about swap files and trying to better ...
96
votes
11
answers
63k
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/...
0
votes
1
answer
258
views
Installing Homebrew on a Mac with NPM already installed
I am trying to fix my npm permissions.
On this page, under Option 3, it says:
If you're doing a fresh install of node on Mac OS you can avoid this problem altogether by using the Homebrew package ...
0
votes
1
answer
38
views
How to find out what auto-starts my php?
So I installed php56 using homebrew a couple of months ago. I configured my OSX Yosemite somehow so that it auto-starts php when I login. But now I don't know how I did it anymore! Both /Users/{...
37
votes
4
answers
124k
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 ...
2
votes
1
answer
2k
views
virt-manager on Mac OS X can't connect to remote libvirtd
I have installed virt-manager 1.3.2 on Mac OS X 10.11.5 via homebrew.
When I try to connect to my remote libvirtd daemon, running on a different machine at 192.168.1.70, I cannot connect.
However, ...
1
vote
1
answer
216
views
How Does Homebrew Add Things to My Environment?
OS X 10.11.5. I'm new to OS X and Ruby. I used homebrew to install chruby and ruby-install, then used these to install Ruby and Rails. Later I installed RubyMine. I like it, but it does not support ...
8
votes
1
answer
18k
views
After npm install -g, command still not found?
I don't know what's going on, but none of my installed node packages are actually registered.
npm and node work fine, but if I sudo npm install -g ffmpeg or brew, they're listed at /usr/local/lib/...
0
votes
2
answers
1k
views
How do I move / install Homebrew onto my Mac user account? Another user set it up
I have a Mac on Mavericks that was set up by a different user.
He set up Homebrew under his account, but when I type brew on my login I get
/System/Library/Frameworks/Ruby.framework/Versions/2.0/...
1
vote
1
answer
4k
views
Unbound DNS: Troubleshooting/Resolving Unbound Configuration Problems?
Every time I try to launch the Unbound DNS server via Homebrew Services with the command 'sudo brew services start unbound,' I start seeing log entries of the following ...
0
votes
1
answer
2k
views
Homebrew: installed sleepwatcher, wanted to run suggested service command, got "Formula not installed"
I installed sleepwatcher using Homebrew. Everything worked well as it seems, here's the output:
josh@Macbuech:~/Documents/Work/Access4All/projects/a4aa2/src$ brew install sleepwatcher
==> ...
0
votes
1
answer
95
views
Can't use brew version PHP
Here's my .profile
And here's what happens when I run php.
Am I missing something? Did I do something wrong in my profile? How come when I run the php command my OS X runs the system PHP instead? ...
1
vote
0
answers
43
views
Why doesn't home-brew correctly configure my python installation?
I installed python 2.7.11 using home-brew on my OS X EI Captain. Note that EI Captain shipped with python 2.7.10 already. However, it seems like the install done by home-brew did't correctly configure ...
1
vote
2
answers
3k
views
MongoDB homebrew launchctl not working (OS X El Capitan)
Steps:
brew update
brew install mongodb
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
mongo
Output:
MongoDB shell ...
1
vote
0
answers
377
views
Home-brew hanging for at least one hour, stuck while installing
Kuns-MacBook-Pro:~ kunzhou$ brew install rstudio-server
==> Installing rstudio-server from homebrew/science
==> Installing dependencies for homebrew/science/rstudio-server:homebrew/versions/...
4
votes
1
answer
748
views
Download 32bit OpenSSL using HomeBrew on 64bit Mac
I have a 64 bit Mac
I have a 32 bit app
32bit app needs OpenSSL
I have tried point it OpenSSL downloaded by HomeBrew, but it fails
After having eliminated all other causes as well as possible, I have ...
1
vote
1
answer
1k
views
brew services httpd22 and postgresql shown as started, but can not be connected to
Earlier I was successfully using VM Fusion with CentOS Linux VM for web development needs.
However now I would like to switch to homebrew package manager.
So I have installed it and then run the ...
2
votes
1
answer
16k
views
Fixing homebrew path
I'm learning Python and most tutorials recommend to install Python using homebrew so I installed homebrew then I typed:
brew install python
which should overwrite OS X Python 2.7.10 with 2.7.11 but ...
1
vote
1
answer
5k
views
I am getting "ln: /usr/local/bin/<Cask>: Permission denied" when trying to install some casks
I have installed Homebrew and Cask to my machine, and it has worked for some things. But I sometimes get an error saying
==> ln: /usr/local/bin/<Cask name>: Permission denied
Error: Command ...
1
vote
1
answer
857
views
What does the --force option do in homebrew?
I often see programmers recomend using the --force option when removing a homebrew package:
brew remove <package> --force.
Why is the --force option available? What does it effect in the ...
1
vote
0
answers
676
views
Running `pip` gives 'command not found' after successful Python homebrew install
To preface, I am very bad with the terminal, please be patient with me.
when I run pip I get:
zsh: command not found: pip
I have installed Python 2.7.11 with brew, which should allow pip to work
...
1
vote
1
answer
4k
views
Brew cask uninstall does not remove installed cask
I've installed cask via brew cask install and I would like to remove it, however, brew cask uninstall cannot find it:
me-bash-3.2:/$ brew cask list
macdown
me-bash-3.2:/$ brew cask uninstall macdown
...
5
votes
0
answers
962
views
Can't import python module in .vimrc [closed]
So, I decided to try out powerline in vim, and for that reason I installed pypy using brew. I installed macvim as well and it is compiled with python support.
Following powerline installation ...
1
vote
0
answers
250
views
Prevent frequent compilation in Homebrew
homebrew doctor warns me to keep an updated homebrew database and packages, telling me this:
You haven't updated for at least 24 hours, this is a long time in brewland!
However, when I try to ...
0
votes
1
answer
828
views
Problems with libpng and Mac OS X
I keep getting the same error while trying to run an app which uses opencv:
dyld: Library not loaded: /usr/local/lib/libpng15.15.dylib
Referenced from: /usr/local/lib/libopencv_highgui.2.4.8.dylib
...
2
votes
1
answer
4k
views
"Could not create unix socket lock file" with MySQL 5.7.10 on OS X 10.11.2
I've been trying to install MySQL 5.7 on OS X El Capitan using Homebrew, however when it came to getting the server up and running, I cannot seem to get a lock file created.
When I run mysqld_safe, ...