Questions tagged [homebrew]
The homebrew tag has no usage guidance.
75
questions
0
votes
1
answer
77
views
Error while trying to source a .zshrc file
What am I doing wrong here?
% echo "export HOMEBREW_GITHUB_API_TOKEN=XXXX">> ~/.zshrc;
% source ~.zshrc;
zsh: no such user or named directory: .zshrc
1
vote
0
answers
18
views
Installed a package using brew, but when I try to run its command, it's not identified
I am using homebrew on ubuntu to install x86_64-elf-gcc. After installing it, I tried running it, but Ubuntu won't recognize the installed package...
0
votes
0
answers
22
views
Problems using linuxbrew for local user without root - /home/linuxbrew/.linuxbrew/Cellar - git & curl path
I'm trying to install brew in a shared CentOS server to be able to install packages in my local user since I don't have root access.
I'm getting some messages that are at odds with this purpose:
...
0
votes
1
answer
254
views
Brew installation fails due to Ruby versioning?
I am trying to install Linux Brew on Garuda Linux (Arch Linux based distro) but the install script fails with the following error:
==> Pouring portable-ruby-2.6.8.x86_64_linux.bottle.tar.gz
Error: ...
1
vote
1
answer
34
views
Homebrew unavailable on Ubuntu when connecting via ssh (PATH doesn't include brew location)
I am connecting with ssh from a Mac to a Ubuntu machine with Homebrew installed (as per these instructions). When using the Ubuntu machine directly, brew works fine. But with ssh, I get the the ...
1
vote
0
answers
54
views
how to make brew output log in terminal
I am using this command to start nginx on macOS (M1 chip):
brew services nginx start
the output tell me the service start success, but when I using this commnad to check the services and check the ...
0
votes
1
answer
38
views
Tmux changes to default preinstalled nano version instead of newly installed homebrew one
When i use nano in the terminal without enabling tmux, it shows the path for the brew version nano is an alias for /opt/homebrew/Cellar/nano
However when i use tmux, type nano shows the same path but ...
2
votes
1
answer
1k
views
cp setattrlist Permission denied on MacOS
I am a second "Administrator" user on a Mac OS. I am in the admin group, and am trying to use homebrew, which was installed by the first user.
I have made sure everything in /usr/local/* is ...
5
votes
2
answers
3k
views
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. ...
0
votes
1
answer
375
views
Debian stuck on login screen loop after homebrew install
I installed homebrew today on Debian buster. After a reboot, it's not going past the initial login screen even with correct password. But I am able to log onto console.
I think I messed up the ./...
0
votes
0
answers
67
views
zsh: run function after specific command and argument
Currently structuring my dotfiles and figured i would make a copy of all installed homebrew and cask packages. This is very nicely done via homebrew-bundle.
However, I want to add some automation to ...
1
vote
0
answers
563
views
What do the avifenc min/max quality settings do?
I'm using avifenc by joedrago to create AVIF images (for use on the web). I installed it via Homebrew on macOS using:
brew install joedrago/repo/avifenc
There doesn't seem to be a single quality ...
2
votes
1
answer
458
views
Configuring homebrew for multiple users on MacOs
UPDATES
brew --prefix returns:
/usr/local
CONTEXT
A MacOs Mojave desktop is:
initially configured with brew
a new user is added
A new group, brew, is added per instructions and user 2 was added to ...
1
vote
0
answers
366
views
How do I install an older version of boost-python3 on Mac OS
Currently,
brew install boost-python3
installs a new version of boost and the library boost_python38 (libboost_python38.dylib), however I need boost_python37 or older.
I managed to install an ...
1
vote
1
answer
49k
views
Python "SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/docutils/"
PROBLEM
Whatever I try to install from terminal with pip (macOS 10.12) I get this error message
I may have installed and fully deleted homebrew before but I am not sure how to solve this
Installs ...
1
vote
1
answer
684
views
Fedora: Command not found with sudo
I am aware of the --preserve-env or -E flag in sudo, however, it seems like this flag causes sudo to act weird in Fedora.
I installed ranger with LinuxBrew, Here's what I get when I type in which ...
0
votes
1
answer
78
views
Symlink pointing at wrong file when executing
I'm having a strange issue with hugo binary installed using brew on Ubuntu 18.04. When I run which hugo I get /home/linuxbrew/.linuxbrew/bin/hugo and when I look at that directory with ls -la /home/...
0
votes
1
answer
714
views
Problem Adding PATH to ~/.zshrc
I am having an issue adding a path variable on my zsh.
This is the warning that was produced:
Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables ...
1
vote
1
answer
108
views
Homebrew throws error when running make to move binaries
I am trying to write a formula for homebrew to install a C++ tool I made. I have the following rule in my makefile to copy binaryFile file to /usr/local/bin:
install:
@install -m 0755 binaryFile ...
0
votes
1
answer
2k
views
Why does "alias python=/usr/local/bin/python3.7" keep getting appended to my .zshrc every time I open up a homebrew managed version of Anaconda?
I run a fairly stock .zshrc configuration. Stock meaning only a couple of aliases and a theme. But every time I open my .zshrc, I see several appended lines that all say this:
"alias python=/usr/...
1
vote
1
answer
1k
views
Homebrew replaced Python3, how to reverse?
While trying to install AWS SAM CLI on a linux box, I had to install Homebrew/Linuxbrew. The AWS package have a dependency to python 3, which I already have installed on my system.
In the middle of ...
1
vote
1
answer
104
views
Where is the location of linuxbrew's log files?
In MacOS, homebrew output logs to ~/Library/Logs/Homebrew. What is the equivalent in Linux for linuxbrew?
6
votes
1
answer
716
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
2
answers
105
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
2
answers
152
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
1
answer
301
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 ...
5
votes
2
answers
2k
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
3
answers
547
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
1
answer
478
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
1
answer
850
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
2
answers
1k
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/local
...
1
vote
1
answer
1k
views
How to install libzip 1.2 on Debian as well as OSx via homebrew? [closed]
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: ...
7
votes
3
answers
3k
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
1
answer
50
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 ...
10
votes
1
answer
18k
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 ...
1
vote
1
answer
2k
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/...
0
votes
1
answer
585
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
3
answers
184
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
1
answer
1k
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
1
answer
1k
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
0
answers
748
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. ...
6
votes
1
answer
3k
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
1
answer
316
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
0
answers
1k
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
1
answer
70
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
1
answer
155
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
1
answer
408
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
1
answer
864
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
1
answer
3k
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
1
answer
419
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 ...