Questions tagged [homebrew]

90 questions
15
votes
1 answer

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 In Terminal's preference: Shells open with ->…
chepukha
  • 251
  • 2
  • 4
12
votes
2 answers

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 used to refer to a variable named var but that's…
Osbridge
  • 123
  • 1
  • 4
12
votes
2 answers

Zsh completion of brew formulas

In OS X, is there any way to have Zsh (I'm using Oh-my-zsh) tab-complete formulas? E.g. $ brew install em could expand to: $ brew install emacs
Josh
  • 1,694
  • 3
  • 16
  • 32
11
votes
1 answer

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 am unable to used sed command. My $PATH variable…
Ishan Srivastava
  • 291
  • 1
  • 3
  • 7
8
votes
3 answers

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 block-buffered,) as that command produces it use something like tee to…
RandomDSdevel
  • 203
  • 2
  • 7
8
votes
1 answer

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 I don't understand is that I did the exact same…
iNyar
  • 185
  • 1
  • 9
7
votes
1 answer

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 to see this menu again) which brings up the byobu…
Asaf
  • 173
  • 5
7
votes
2 answers

zsh completion installations (autojump) - How to use them?

I just installed autojump and have oh-my-zsh installed in my system. I have included the log of the installation at the bottom of this post. Note that at the end it says: zsh completion has been installed…
Amelio Vazquez-Reina
  • 40,169
  • 77
  • 197
  • 294
6
votes
2 answers

Why wouldn't a symlink to a symlink work?

I've run into a weird issue when installing SWI-Prolog using homebrew on my OSX 10.9 box. I'm trying to debug it to figure out whose bug it is (SWI-Prolog's, homebrew's, or OSX's), so I can report it appropriately and get it fixed. The swipl in my…
rampion
  • 1,589
  • 1
  • 10
  • 14
6
votes
1 answer

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 have the answer for. There is an Image for the…
Bogotrax
  • 83
  • 1
  • 5
6
votes
2 answers

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. my PATH: $ echo…
tdc
  • 193
  • 1
  • 1
  • 4
5
votes
2 answers

GDB Installed From homebrew on macOS Big Sur Fails to Load Symbols From elf32-i386 Binary

for the past little bit I've been slowly working on developing a hobbyist kernel, and for all that time I've been using GDB with QEMU to investigate memory locations and registers and what not. However I recently wiped my Mac and installed a fresh…
aurxenon
  • 71
  • 1
  • 4
5
votes
2 answers

"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-luajit ==> Reinstalling vim ==> Downloading…
Blaszard
  • 359
  • 2
  • 3
  • 12
4
votes
2 answers

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 is exported: Unsetting LANG and LC_MESSAGES, I…
user321245
4
votes
1 answer

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

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 (using brew install git). sudo chown -R $USER:admin /usr/local Now I'm wondering if I…
MikeiLL
  • 247
  • 1
  • 4
  • 10
1
2 3 4 5 6