Questions tagged [homebrew]
The homebrew tag has no summary.
96 questions
0 votes
1 answer
141 views
Unable to use zparseopts
I'm having issues with zparseopts and it looks like Brew didn't install it correctly. See this simple test below (all similar tests fail): ❯ short_test_zpo() { autoload -Uz zparseopts || { echo &...
0 votes
0 answers
117 views
Does homebrew and Xcode python share the same environment?
I am trying to flesh-out a mental model of Python environments for my MacBook (MacOS Ventura 12.x). I am aware of venv (virtual environments) and that it serves to prevent updates from changing the ...
0 votes
1 answer
142 views
tlrc not working with homebrew on mac for unknown reason
I installed the package using brew install as indicated in READ.me with no caveats, then installed rust because it was a missing dependency, and the command tlrc is not recognised still. Here's the ...
0 votes
1 answer
177 views
Building and installing GCC 12 in a parallel/sub prefix on heavily modified Ubuntu 14.04
One of my systems that I still use a lot runs a kind of "Frankenbuntu" 14.04 that has received lots of additional updates via PPAs and software I build and install to /opt/local (using an ...
1 vote
1 answer
197 views
how to install brew forumlae simultaneously?
I tried this, I'll keep the list short: IFS=$'\n' pkgs=( go gcc make node ) installPkgs() { brew install $1 } export -f installPkgs parallel -j 0 installPkgs ::: ${pkgs[@]} This didn'...
0 votes
1 answer
81 views
Can't install GDK on Catalina
Welcome, while trying to install Gitlab GDK on a MacBook Pro Catalina 16G RAM it goes ok except three dependencies which already exist but the GDK says they are not installed or outdated! bin/gdk ...
26 votes
2 answers
39k views
What does command eval "$(/opt/homebrew/bin/brew shellenv)" actually do?
Homebrew requires us to add eval $(/opt/homebrew/bin/brew shellenv) to ~/.zprofile. What does this actually evaluate to and what does this accomplish? I am a bit new to shell scripting. I know $var is ...
1 vote
1 answer
1k views
Command output evaluation not working in Bash script [duplicate]
I am trying to automate adding Homebrew to my path in a shell script, but these two lines do not evaluate inside my shell script: #!/bin/sh eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)&...
1 vote
0 answers
430 views
gawk inplace error
How to change a file in-place using awk? (as with "sed -i") When I follow the solution above, I get the following error on mac. How to find why it does not work on mac? awk -i inplace '/...
0 votes
1 answer
338 views
Homebrew in Ubuntu getting uninstalled after reboot
I am installing properly Homebrew in my ubuntu 22.04 and everything is fine brew doctor, brew --version everything is running properly. But everytime I am rebooting my system, the homebrew is getting ...
1 vote
2 answers
1k views
Homebrew Installation Issue
Fairly new at Linux here and have a question about installing Homebrew. I'm using Centos7 and already updated all the required dependencies (cURL, etc.). When I run the Linux installation script ...
1 vote
0 answers
815 views
getting WGET to save clean file extensions, without query parameter
I am using wget on mac to download hundreds of thousands of images... however the saved files all have a '?' saved at the end of the file extension (like the start of a query parameter) How can i get ...
0 votes
1 answer
998 views
Brew no longer works - macOs 12.6
I work on macOs monterey 12.6 with a M1 pro chip. I was working on a project with php (8.1), composer and symfony installed and everything was working fine. I closed my terminal and since when I go ...
1 vote
0 answers
1k views
how to debug oh-my-zsh auto-completion not working?
The title largely says it. Most of my auto-completion is working, but git is not. It does not complete commands, e.g. git check<tab>, nor does it complete branches, e.g. git checkout ge<tab&...
1 vote
1 answer
3k views
After restarting terminal, Brew commands not working and getting some error in terminal
I have macOS Monterey(v12.3) and had installed brew with exact guidelines shown in youtube videos. But brew commands work only if I run in the same terminal session. When I restart the terminal and ...