Questions tagged [homebrew]

`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

brew install fails with "no space left on device" on RHEL 9, how do I fix it?

I'm not so familiar with how to solve issues like this, anyone knows what might needs to be done to fix this? [randomusr@jumphost ~]$ brew install hello ==> Downloading https://ghcr.io/v2/homebrew/...
19 votes
4 answers
24k views

Brew installed, linked, but not found

I just installed mtr via Homebrew, and it completed seemingly successfully (i.e., nothing unusual). MBA% mtr zsh: command not found: mtr That's odd. I figured I'd try again: MBA% brew install mtr ...
0 votes
0 answers
4k views

Homebrew installed HTTPD somehow cannot be started

After upgrading my macOS to Monterey, I am unable to start apache. When I run the sudo brew services start httpd command, httpd looks like started: Warning: Taking root:admin ownership of some httpd ...
2 votes
0 answers
398 views

How to convert a Debian package into a homebrew formula?

There's a Debian package I'm interested in for which no homebrew formula yet exists. How can I convert a *.deb package file into a homebrew formula? (FWIW, the Debian package I'm interested in is ...
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, ...
1 vote
1 answer
60 views

What does it mean to "run something in a shell profile"

I'm installing Homebrew and I get a message that says: Next steps: ⁃ To add Homebrew to your PATH run brew shellenv in your shell profile (e.g. ~/.bash_profile or ~/.zprofile)" What does it ...
3 votes
1 answer
6k views

Removing all but original system-default python on macOS

I am trying to clean up the various Python installations on my MacBook Pro (macOS 10.13.4) by removing everything except the original system python (2.7.2 for the current version of macOS). I have ...
3 votes
1 answer
5k views

Homebrew pros and cons on macOS

I have to reset a MacBook Pro (15 inch mid 2012, with macOS Catalina), and to rienstall all the applications after the reset I'm considering to use Homebrew instead of the traditional method (download ...
0 votes
1 answer
22 views

Xcode repetitive installations

Xcode releases usually follow macOS releases. Until recently macOS Sonoma updated and I have to reinstall all my Xcode packages or simulators again. In addition to linking brew over again to recognize ...
0 votes
1 answer
40 views

Homebrew - different packages on different computers, same MacOS

I'm trying to install far2l on two different computers, but the result is different. Screenshot from the first computer: Screenshot from the second: In the first case it installs from yurikoles/...
1 vote
1 answer
63 views

How to keep Homebrew apps clean and current - How to find installed apps no longer used

How do I know if I can or should clean up anything? I have a ton of installed apps, and a brew update takes forever. I'd like to at least find which apps I no longer use. I did brew autoremove, one ...
0 votes
1 answer
7k views

Can't find zlib when installing other libs with brew

I'm am new to both *nix and brew. I tried to install many things using Homebrew, but it keeps saying: configure: error: *** Working zlib library and headers not found *** Then I tried install zlib ...
0 votes
0 answers
86 views

How to remove left-over files from an Homebrew installation

My current homebrew has its files installed in /opt/homebrew which is correct. However, I have several hundred leftover homebrew files in /usr/local/Cellar which are still symlinked to in /usr/local/...
0 votes
1 answer
65 views

How to run Homebrew service with flags?

I'm running on macOS Sonoma and trying to run this service called AutoRaise. Someone made a Homebrew package for it here. I installed it using Homebrew with my desired flag, brew install autoraise --...
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 ...
0 votes
1 answer
3k views

How to uninstall Macports

So I have a MacBook Pro with High Sierra and I needed to download a package manager for an Octave project. I already had Docker before this. So I went and downloaded home-brew, MacPorts and tink, not ...
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 ...
0 votes
0 answers
157 views

Cannot connect to a fresh brew install of mysql from a client on the same host

I just did a fresh install of mysql on a mac using brew. brew install mysql We've installed your MySQL database without a root password. To secure it run: mysql_secure_installation MySQL is configured ...
0 votes
0 answers
19 views

Install a shell script with homebrew -- to install darktable (1_install_hb_dependencies.sh)

I want to build darktable from source w/ homebrew, like so: doc on Github. I have installed homebrew (step 0). Now I'm stuck at the first step where I need to install ''required homebrew packages'', i....
0 votes
2 answers
2k views

How to untap all unused brew taps?

brew bundle dump outputs a bunch of taps for apps I installed, then uninstalled. I could just try untapping every tap, and brew will refuse to untap anything in use. Like this without echo: brew ...
3 votes
1 answer
2k views

GPG stops doing anything on Mac

Twice now GPG has completely stopped working for me after some time (days or weeks) of not using it. When trying to use it, no errors show up and it simply sits and does nothing until i use ctrl-c to ...
0 votes
2 answers
651 views

How to write a Terminal command to unrar a file in specific location?

On my Mac, I want to decompress a .rar in Downloads. I have hombrew and an unrar script already installed from GitHub; unfortunately, when I prompt the Terminal to unrar the file, I constantly get: ~ %...
0 votes
0 answers
50 views

Very weird linuxbrew installation issue

I am installing linuxbrew in a linux machine. I typed /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" in the console. However it says ==> /...
22 votes
3 answers
40k views

Warning: Unbrewed dylibs were found in /usr/local/lib

When I enter the command brew doctor I get the error below. This this something to worry about? Im very new to command line stuff. Im using homebrew to install Drush (for Drupal). Last login: Wed ...
2 votes
1 answer
2k views

Can't start mariadb service with brew in mac

I am trying to start mariaDB in mac with brew services. I run brew services stop --all jenkins-lts none mariadb none memcached none mysql none [email protected] ...
2 votes
1 answer
2k views

Warning issue with homebrew brew doctor in Mac OS X

I just installed homebrew and am getting this Warning: $ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If ...
0 votes
1 answer
180 views

bash scripts not loading any of ~/.bash*

Context: M1 MacBook macOS Ventura 13.5.2 zsh as default shell GNU coreutils installed by homebrew /opt/homebrew/opt/coreutils/libexec/gnubin added to path in ~/.bashrc, ~/.bash_profile, and ~/....
0 votes
2 answers
1k views

/usr/local/opt/postgresql/*.plist no match

i'm trying to install postgres on my macOS (Monterey 12.0.1). i've ran brew install postgres and the next step is to run ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents, but when i do,...
11 votes
2 answers
15k views

Homebrew packages in PKG_CONFIG_PATH

I have a bunch of libraries installed with homebrew but I don't know what the right way to get them in pkg-config's search path. Right now I have export PKG_CONFIG_PATH=$(find /usr/local/Cellar -...
1 vote
1 answer
1k views

Error: qemu exited unexpectedly with Could not open edk2-aarch64-code : No such file or directory

After brew upgrade podman machine no longer works. podman machine start Starting machine "podman-machine-default" Waiting for VM ... Error: qemu exited unexpectedly with exit code 1, stderr: ...
0 votes
1 answer
409 views

How to publish binary executables as homebrew taps for both MacOS and Linux?

I have a CLI tool, written in Rust, which I have successfully compiled and uploaded as my own Homebrew "tap" on GitHub at https://github.com/RandomStudio/homebrew-tether Installation is as ...
0 votes
1 answer
1k views

I accidentally delete /usr/local/var, what should I do?

I ran this accidentally because I want to remove sql completely: sudo rm -rf /usr/local/var What should I do now? I know the var folder contained homebrew, mysql and run folder before. I don't ...
13 votes
1 answer
24k views

How do I use xdg-open from xdg-utils on Mac OSX?

I'd like to use the command line xdg-open. The command line is not known to my computer (Mac OSX) so I have to install the package (not sure this is the right term) that contains this command line. I ...
0 votes
1 answer
272 views

nano : where are "morespace" and "smooth" settings gone

In the transition from Cygwin+Windows to MacOS Monterey, I also tried to port my configuration of the nano editor. On the Mac, I had to use Homebrew (brew install nano) to get a decent nano, because ...
6 votes
2 answers
3k views

Symlink to the latest version formula directory in Homebrew

I'm kinda just starting with OS X and Homebrew, yet I find it very useful. However I have one problem: is there a way to make Homebrew automatically create a symlink to the directory of the latest ...
2 votes
0 answers
484 views

Homebrew cask install without multiple password prompts

When installing certain casks, homebrew asks for the password multiple times. For example with zoom, it prompts for password 11 times before it installs (snippet attached) How can I get homebrew to ...
1 vote
0 answers
112 views

How does dependency uninstalls occur while uninstalling a software in OS?

I installed mono and using homebrew and its dependencies is installed with it as a prerequisite. After uninstalling the mono again I realized it does not uninstall dependencies it installed initially ...
8 votes
3 answers
17k views

brew install fails downloading from ghcr.io - macOS Mojave

On one of the 2 macOS Mojave systems I have, several brew install commands fail downloading files from the https://ghcr.io site, but it works fine on the other computer (same OS version: 10.14.6). For ...
0 votes
1 answer
643 views

Java folder missing from openCV installation with homebrew

On my old MacBook Pro mid 2012 I was able to easily install openCV 4.5.2 with homebrew. After installation I had a java folder with a dylib file and a jar. Now I bought a MacBook Pro M2 2022, ...
2 votes
1 answer
174 views

What is active-trader-pro cask in Homebrew?

Could not find any useful information about it. Also https://formulae.brew.sh/ does not have any cask named as it is. ❯ brew install docker Running `brew update --auto-update`... ==> Auto-updated ...
8 votes
3 answers
18k views

Brew install R: Permission denied

When trying to install R via Brew, I get the following output and errors: ==> Pouring pcre-8.43.mojave.bottle.tar.gz cp: /usr/local/Cellar/pcre/./8.43: cp: /var/folders/3l/...
0 votes
0 answers
319 views

What can I do to fix ImageMagick in Catalina?

I tried to check installations of ImageMagick then brew. In a classic case of knowing just enough to cause trouble the diagnoses are more complicated than I know how to treat. Hoping for a second ...
8 votes
5 answers
7k views

How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?

Homebrew's Ruby 1.9 ships with rubygems. Doing gem install ... installs files and binaries into some long-winded path. For example, bundler is installed at: /usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/...
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
2 answers
791 views

unable to uninstall youtube-dl using brew uninstall command?`

brew uninstall youtube-dl Warning: Unexpected method 'arch' called on Cask visual-studio-code. Follow the instructions here: https://github.com/Homebrew/homebrew-cask#reporting-bugs Error: Cask '...
69 votes
5 answers
31k 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 ...
0 votes
1 answer
1k views

Script for reinstalling apps on macOS with brew cask

I looked around for this and couldn't find it. Before venturing into coding it, I thought I'd ask… I regularly update my mac via terminal with brew, macports, pip, yarn, etc. So I started ...
1 vote
1 answer
2k views

Is it that bad to use Homebrew on an outdated macOS?

I had problems on macOS Monterey and had to downgrade back to Catalina due to performance issues (found out it was just my MBP 2016 needing some hardware cleaning, so I'm considering going back to ...
5 votes
2 answers
12k views

How to tell which Apache is running

I just updated to macOS Catalina (10.15.1). I got me own Apache installed by HomeBrew. This Apache seems not to accept my configuration. I somehow think that Apple reenabled its default Apache and I ...
0 votes
0 answers
46 views

/bin/ls -al --full-time does not recognize full-time in MacOS

I have 128,000 image file I recovered from a hard-drive failure. The software I used treated duplicates and deleted files the same way. ie it restored everything. As a result I have up to five ...

1
2 3 4 5
11