New answers tagged

0

I recommend to download the Command Line Tools 11.2 from More Downloads for Apple Developers. An Apple ID is required. Install it manually and afterwards the pending (and obviously not installing) updates in Software Update will vanish. As an alternative a direct d/l link: Command Line Tools 11.2


1

You could create an alias in zsh that invokes emacs -nw whenever you write emacs. The -nw argument means to start emacs in "non-windowed" mode - i.e. a command line text interface. You can create the alias by editing the .zshrc file you mention, and add the following line: alias emacs="emacs -nw"


0

I prefer to update Homebrew on start-up. I have a script brew-update.sh in ~/Applications: for cmd in update upgrade cleanup; do brew $cmd done This script is run on start-up using launchd. For that, I have brew-update.plist in ~/Library/LaunchAgents: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "...


0

Wohoo! I just realized that there is apparently now a built-in solution to the problem! Homebrew offers a --no-quarantine flag. That means one can now install casks without the annoying message, by using brew cask install --no-quarantine calibre or brew cask reinstall --no-quarantine calibre


0

If in your homebrew installation you also installed XCode tools on your mac you may just need to close your terminal window and open a new one :)


1

Homebrew doesn't support that way of use. To reduce keypresses you could leverage SHELL-scripting (makes sense to add to your SHELL's .rc-file), say: brewIn() { if brew ls --versions "$1"; then brew upgrade "$1"; else brew install "$1"; fi } — Works both in Bash and Zsh. Usage: brewIn …formulae…. But none except this.


0

As Michał Szajbe points out, this will install with a g prefix. The more up to date solution (to make gmake the default make) is to modify your PATH: Edit your .bashrc or .zshrc etc ... export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" Running make --version should now reflect the brew installed version.


1

If I understood correctly, here is the list of the folder HomeBrew creates while installing it on your machine. Homebrew installs packages to their own directory and then symlinks their files into /usr/local. And when you do brew list, it shows the tool that you get from it under Cellar Folder. So you can check all this folder to get rid of it properly. ...


1

You can use the git history to obtain the formula for OCaml 4.02.3 Go to the local directory where formulas are stored: cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula Look at the history of the OCaml formula: git log ocaml.rb It appears that the last commit of version 4.02.3 is commit 3cdad82334496ca9fe8d8fb37. Check out this commit:...


2

This requires adding cron to the Full Disk Access list. Open System Preferences : Security & Privacy : Privacy : Full Disk Access Both rsync and cron must be included on this list. Before Catalina, listing only rsync would work. On Catalina, rsync by itself only lets you run rsync by hand. For it to work within cron, cron must also be on the list ...


0

I still can not understand how I made this work, and why is it so unintuitive, This is what I did: brew install geoipupdate brew install libmaxminddb then mmdblookup -i xx.xx.xx.xx -f /usr/local/var/GeoIP/GeoLite2-City.mmdb


2

Immediately after removing the service you won't be able to find the service name in a distinctive and editable file. It's probably hidden in some cache. After a reboot you should be able to remove its traces by performing these steps though: Search for the name of the non-existent service to remove in the files of this directory: /var/db/com.apple.xpc....


Top 50 recent answers are included