Questions tagged [homebrew]

The tag has no usage guidance.

0
votes
0answers
36 views

Issues with attr-2.4.48 homebrew on mac

I am attempting to use attr-2.4.48 in a build, the build works on an ubuntu machine, but I am trying to get it to work on OSX, and am running into errors where functions aren't getting enough ...
2
votes
1answer
92 views

byobu configuration menu escape / exit always closes the tab

I've been using byobu for ~4 years at this point and I do not remember this behavior before. If I press F1 (this always happens by accident actually, with the exception of initial setup I never want ...
2
votes
2answers
57 views

Having a hard time understanding package-manager repositories? [duplicate]

I'm currently starting to play around in the Terminal (MacOS), and learning to get the most out of it. I knew Homebrew was a very populair alternative package-manager on MacOS, so I decided to look ...
4
votes
2answers
91 views

Why does LC_MESSSAGES need to be exported on macOS homebrew bash to take effect?

On macOS, with bash installed from homebrew, I noticed that setting LC_MESSAGES seems to have some effect on the current shell's locale settings, but messages doesn't actually change until LC_MESSAGES ...
0
votes
1answer
87 views

ZSH and GDBM support

I am trying to learn more about ZSH and the way that my shell is setup and operates. I am running OSX and have installed ZSH with HomeBrew so as not to use my standard system ZSH. However, before ...
2
votes
2answers
254 views

“brew install -s” does not compile from source

I want to install vim via homebrew, from the compile, but even when I ran the command with -s flag, the compile does not occur. brew install -s vim --with-luajit Or brew reinstall -s vim --with-...
0
votes
3answers
211 views

Prevent script from sudoing

I have a script that runs an utility every two days. This utility does some stuff on my system. It is a very known, widely used piece of open source software. #!/usr/bin/env bash #...do stuff here ...
2
votes
1answer
93 views

Brew Formula: How can I define cask and external dependencies?

I’m writing a brew formula for my own tap, having XQuartz and external sources (not available on brew) as dependencies. How can I include them in my formula?
0
votes
1answer
397 views

OS X - Why is python not properly sourced in `which python`?… and is more broken in the system-level python?

TL;DR: Is this $PATH string backwards if I'm trying to source python 2.7 from the homebrew-installed version? $ echo $PATH /Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/...
2
votes
2answers
584 views

There is no Cellar in /usr/local for brew

I have been trying to use brew to install tmux but every time I put in brew install tmux it would tell me: Error: Could not create /usr/local/Cellar Check you have permission to write to /usr/...
1
vote
1answer
801 views

How to install libzip 1.2 on Debian as well as OSx via homebrew?

I want to use http://php.net/manual/en/ziparchive.setencryptionname.php but this relies on libzip version 1.2 being available. On Debian, a $ dpkg -s libzip-dev prints Package: libzip-dev Status: ...
6
votes
3answers
1k views

How Do I Unbuffer The Output Passed From an Interactive Command Into a Pipeline Ending With `tee`?

     I'm troubleshooting an interactive command and would like to: see output printed to my screen with its original coloration, unbuffered or line-buffered (instead of ...
0
votes
1answer
41 views

How can I set ENV from a path

I just installed android-sdk using Homebrew. The path is /usr/local/Caskroom/android-sdk/3859397,26.0.1. I know I can export ANDROID_HOME with that value. How can I set it dynamically using the ...
2
votes
1answer
5k views

gsed: command not found on macOS with Homebrew

I am using oh my zsh. I am not able to use some commands which I could do on ubuntu for e.g.. \s in regular expressions. I installed home-brew and then brew install gnu-sed --default-names but still I ...
0
votes
1answer
1k views

Using gettext in configure

I'm trying to compile a program which requires gettext (for intltools) on macOS. I tried the following commands to run the configure script: LDFLAGS=-L/usr/local/opt/gettext/lib CPPFLAGS=-I/usr/local/...
1
vote
1answer
275 views

What are the differences between rpm.org and rpm5.org?

I would like to make a pull request for upgrading the rpm formula of Homebrew. And, I'm looking for the latest stable code base for rpm. I found two project: http://rpm.org and http://rpm5.org The ...
1
vote
3answers
107 views

Best way to manage packages? [closed]

I'm trying to get familiar with Linux. One thing I struggle currently is managing packages. Native Linux package managers need tiresome work if I want latest versions. (Find and Add PPA or ...
0
votes
1answer
715 views

Where to find Ubuntu equivalent packages on Mac OS X

I using Mac (Sierra OS). As part of a rails project I installed libwebkitgtk-1.0-0 and libmagickwand-dev packages (using apt-get) on ubuntu and was looking to do the same on Mac but I can't find them. ...
1
vote
1answer
625 views

Multiuser Homebrew privileges

I have two users on my Mac. Both are me, but one is work mode, the other is non-work mode. I have an ongoing issue with installing via homebrew. $ brew install x Error: Can't create update lock in /...
2
votes
0answers
174 views

apt & homebrew comparison [closed]

Apologies for punting this to the group for answers, rather than spending solitary research time on this. I am fairly familiar, at least as a user, with apt via my time spent developing on Ubuntu. ...
4
votes
0answers
1k views

current question: How can I decompile an arm firmware file, to get the device tree file?

I am trying to flash libreelec on an android TV box without having an image I could throw in the libreelec toaster. On the RPi it was quite simple, here I guess I have to compile stuff, I don't really ...
0
votes
0answers
170 views

How to solve the following warning from brew doctor?

MacOS Sierra 10.12.2 Recently, I ran into the following issue: Warning: Unbrewed .la files were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when ...
1
vote
0answers
738 views

Install Xcode command line tools, command line

I'm trying to install Homebrew on a server via SSH, but f.e. brew install wget yields fatal: HTTP request failed Error: Your Command Line Tools are too outdated. I need to update my Command Line ...
1
vote
1answer
58 views

List binary packages with brew

How can I list packages that are not built from source? aka the bottle packages. Any ideas? I also tried commands like find /usr/local/homebrew/ -iname bottle*, and it's not working.
0
votes
1answer
108 views

undefined method `permit_weak_imports' with brew install

I am unable to install hub. By running https://github.com/github/hub/issues/new I get the error Error: undefined method `permit_weak_imports' for #<Object:0x0000000220d0d0> What is the ...
2
votes
1answer
338 views

installing nginx mainline with homebrew

Trying to install the mainline (1.11.x) version of nginx with homebrew with no success, is there a way ? (I found this http://brew.sh/homebrew-nginx/ but no mainline specific instructions).
1
vote
1answer
381 views

block command line not found

I am trying to follow this answer on OS X 11.x block return from any to 192.0.2.2 The console displays : -bash: block: command not found So, I tried to install it using brew: brew install ...
2
votes
1answer
1k views

Terminal has cannot find any commands!

I was installing the latest version of perl using brew on my Mac OSX and was then prompted by perl to use local::lib to create my own directory of Perl Packages downloaded from CPAN. Here is a history ...
0
votes
1answer
358 views

Switching from a downloaded version of python to a Homebrew one

I've recently decided I'd like to switch from my downloaded versions (as in downloaded from python.org) of python 2 and 3 to Homebrew installs. I've installed both python 2 and 3 from Homebrew using a ...
1
vote
1answer
254 views

I'm trying to install ncmpcpp, but when installing boost it hangs here

The following shows what happens when I try to install ncmpcpp (on OS X): brew install ncmpcpp !181 ==> Installing dependencies for ...
0
votes
2answers
2k views

Tab completion does not work in MySQL command line client

I've installed MySQL 5.7.10 on my Mac using Homebrew. My Mac is running OSX 10.11.3. When I'm running the MySQL command line client, I cannot tab-complete keywords, table or column names. How do I ...
0
votes
2answers
590 views

brew update: failure while executing: git pull --ff --no-rebase --quiet origin

I am on a computer at work that has been used by somebody else for the past 4 years. I have no idea how often updated brew. The computer is mostly used for running C jobs. I did brew update and the ...
0
votes
1answer
3k views

$USER != whoami

I'm trying to re-install homebrew on my mac. I get this error: michaels-1856:~ michael.snowden$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This ...
2
votes
1answer
2k views

pip3 linked to Python.framework instead of Homebrew /usr/local/bin

I'm using OS X 10.11 El Capitan. I have just installed Python 3.5 with Homebrew: brew install python3. which python3 gives me the location /usr/local/bin/python3. But when I try which pip3 I get ...
0
votes
2answers
1k views

how to locate vim which installed by brew?

I have installed a vim using brew, and it was installed to a very different place, and now I want to locate that vim, in a shell script, is there a good approach for this?
0
votes
1answer
167 views

Uninitialized constant RUBY_PATCHLEVEL (NameError) while running Homebrew on linux

I am trying to install homebrew on linux. I followed the instructions at https://github.com/Homebrew/linuxbrew and installed homebrew with no errors but when i try to execute, i am getting the below ...
1
vote
0answers
1k views

Using curl results in error: “Library not loaded: /usr/local/lib/libcurl.4.dylib …”

I had a few issues with the cURL library interfering with Homebrew. After hopefully removing the library (I no longer use it anyway), I started receiving errors whenever I used commands such as curl ...
3
votes
3answers
2k views

Installed PDFInfo with Homebrew Cask but no command associated with “pdfinfo”

I installed pdfinfo with Homebrew Cask: brew cask install pdfinfo It's successfully installed. But it's not activated as a command in the shell: > pdfinfo -bash: pdfinfo: command not found What ...
1
vote
1answer
84 views

Malloc error after running chown -R on /usr/

I'm running Yosemite on a macbook air. I was following the suggestions after running brew doctor which told me that usr/local did not have write access. It told me to run chown on a bunch of ...
1
vote
0answers
755 views

Installing homebrew - dangerous permission changes?

I'd like to install homebrew, but when I start it up, I get this message: ==> The following directories will have their group set to admin: /usr/local/. /usr/local/include /usr/local/lib Seems ...
2
votes
2answers
111 views

Failure to update Homebrew

So I'm trying to update my home brew version but I get an error. Here is a copy pasted part from the console: $ brew update error: Your local changes to the following files would be overwritten by ...
2
votes
1answer
2k views

Cannot change bash shell in Mac OS X

I'm trying to update bash shell on my Mac OS Mavericks. $ brew install bash $ which -a bash /bin/bash /usr/local/bin/bash $ which bash /bin/bash $ chsh -s /usr/local/bin/bash $ which bash /bin/bash ...
0
votes
1answer
545 views

Homebrew?? error: option --no-user-cfg not recognized

Using homebrew, in which I am have no skill, I was updating cmake (as part of install of avidemux...) on snow leopard $brew -v upgrade cmake Everything works fine through Verifying cmake--...
2
votes
0answers
39 views

problems running brew

I have a macbook pro running OS X 10.10.1 with home-brew installed, but it is giving me some problems. When I tried to run brew doctor after having installed it I got the message. /usr/local/bin/...
0
votes
1answer
164 views

Software installation trouble with Homebrew

I have previously custom installed Python and Homebrew on my OS X 10.9.5 system. I am now trying to install CMake and I am running into various errors such as: cd: /usr/local/src: No such file or ...
0
votes
2answers
1k views

problems starting MongoDB using homebrew

Bobs-MacBook-Pro-2:~ bobhannan$ brew services start mongodb Error: Unknown command: services Bobs-MacBook-Pro-2:~ bobhannan$ brew services list Error: Unknown command: services Problem also using ...
1
vote
1answer
382 views

float.h library not found when compiling gtk+3/vte app with Homebrew

I get the following error when I try to compile my application. I have installed all dependencies using Homebrew, looked at output from "brew doctor", nothing clear on how to solve this problem. $ ...
4
votes
2answers
9k views

trying to install curl with homebrew, getting “incompatible library version” for libcurl.4.dylib

I am on OSX 10.9.5. I would like to use a later version of CURL than what is bundled with OSX, but I do not want to remove the OSX binary just in case, so I wanted to opt to install it via homebrew. ...
0
votes
2answers
695 views

Cant use hombrew because of “bad cpu type one executable”

Here is my exact error message Error: Bad CPU type in executable - otool I can't run stuff like brew install wine Any help please? I'm running OS X.
2
votes
1answer
7k views

sudo chown -R $USER:admin /usr/local - revert back to ROOT?

On OS X, but may also apply to *NIX. This question was asked/answered previously, and I know it's safe to chown on /usr/local for my admin user account, which I've done to install git with homebrew (...