Homebrew El Capitan

I upgraded to El Capitan, with Homebrew & Ruby, and this is how I did it flawlessly. And Xcode and Java, etc. If you don't already have homebrew installed, do that first, so you don't have to deal with SIP issues. Install all Software Updates available in the Apple Menu, up to and including El Capitan. Developer setup for Mac OS X 10.11 El Capitan. Inspired by a Gist from kevinelliott - thanks! Software Install from App Store. Xcode - for command line tools required by Homebrew.

Installing Homebrew on El Capitan when SSL won’t give you a handshake. 22 March, 2016 Luke 1 Comment. Homebrew & El Capitan. GitHub Gist: instantly share code, notes, and snippets. Installing Homebrew on Mac OS X prior to El Capitan (that is Yosemite, Mavericks and others) used to be a breeze. But with a new change in OS X El Capitan called SIP - installing Homebrew has become a bit complicated.

The easiest way to install a number of Unix style applications and open source software onto macOS Big Sur, Catalina, Mojave and earlier Sierra OS versions is via a package manager, unfortunately, macOS Big Sur doesn’t come with one, but fortunately, some good folks care, they come in the form of Homebrew.

The install of Homebrew also works on macOS Catalina, macOS Mojave, (High)Sierra, El Capitan, and Yosemite, so macOS 10.10 – 10.14

Homebrew isn’t the only option, also available is MacPorts and Fink but Homebrew is the newest and most popular of the trio.

Install Homebrew

To download install Homebrew run the install script on the command line as below and let the script do its thing:

If you don’t have Apples Xcode Command Line Tools installed it will alert you to that it will install it and carry on with the Homebrew installation and download the Command Line Tools you will need to enter your admin password at some point.

Then Homebrew is installed.
After this Homebrew is installed and ready to install other apps.

To get started run brew help can give some command example usage.

To check for any issues with the Homebrew install run:

One issue that typically comes up is an outdated or missing version of Xcode.

For the latest macOS, brew doctor will warn that the Homebrew install won’t be 100% if Xcode is not up to date, so update Xcode from the App Store.

To search for an application:

To install

To list all apps installed by Homebrew

Homebrew El Capitan

To remove an installed application

To update Homebrew itself

To see what packages are out of date but not to upgrade them

To see what upgrade packages all or singular

To hold a package at a certain version

To release a package from a certain version

To see what else you can do

Where does Homebrew install stuff …. in the Cellar

Where the brew lives.

You can see your Homebrew configuration by running

The output should be similar to …

All installations via Homebrew are filed independently in the filing system in /usr/local/Cellar and linked into /usr/local/bin which is a directory which allows you to run these commands and apps as if part of the regular operating system.

This directory is also out of the SIP bounds so there should be no authentication macOS error dialog boxes.

Remove Home-brew and all packages

To remove the Home-brew installation and all packages it has installed..

HomeBrew is a great package manager just start installing some apps and explore.!

Mon 02 November 2015 —Filed under notes; tags: mac

Table of Contents

  • First applications
  • system-level configuration
  • homebrew
  • ssh

I had enough issues after updating to El Capitan (the inability to save mywifi password in the system keychain was the tipping point) that Idecided to perform a clean install. Here are some notes.

First applications

Developer tools

Homebrew El Capitan System

Pretty much the first thing any mac needs is the command line tools. This can be done from the command line:

X11

Download and install Xquartz:

Note for next time: might be worth trying to use homebrew.

X11 key bindings so that the option key is used for Meta..

iTerm2

Update a few settings.

Preferences –> Profiles –> Keys and do these things:

  • select 'Left/right option key acts as': +Esc
  • + –> Keyboard shortcut 'OPT+<left arrow>': Send Escape sequence 'b'
  • + –> Keyboard shortcut 'OPT+<right arrow>': Send Escape sequence 'f'

Default appearance:

  • Preferences –> Profiles –> Colors –> Load Presets –> Light Background
  • Preferences –> Profiles –> Text –> Change Font –> 14 point

Others

  • Dropbox
  • SizeUp - http://www.irradiatedsoftware.com/ (license in Dropbox/software_licenses)
  • MacTex - download from http://tug.org/mactex/http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg
  • HipChat client
  • Chrome
  • Dash 2 (App store)

UW only

  • Sophos antivirus: https://softy.cac.washington.edu/sophos/for-staff/
  • Junos Pulse (SSL VPN): https://networks.uwmedicine.org/content/sslvpn-frequently-asked-questions-14

system-level configuration

turn off spelling autocorrect

System Preferences –> Language & Text –> Text tab –> unselect 'Correct spelling automatically'

turn off spaces key shortcuts

System Preferences –> Keyboard –> Keyboard Shortcuts –> unselect C+{<-,->}

homebrew

Note that El Capitan introduced System Integrity Protection (SIP), which may need to be temporarily disabled during homebrew installation. See https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/El_Capitan_and_Homebrew.md

If it becomes necessary to fix permissions:

packages installed using homebrew

homebrew cask

Command line installer for desktop applications. See https://caskroom.github.io

Install some applications

homebrew API token

Apparently lots of requests to GutHub via homebrew can hit a rate limit. There's a higher limit if you create an API token. See https://gist.github.com/christopheranderton/8644743

Here's the url for the token creation dialog:

Make sure that all 'scopes' are unchecked. Once you generate the token, add to your shell profile:

zsh

Install zsh with Homebrew above

El Capitan Os X Download

Change shell to zsh

zsh init files are in Dropbox/zsh

ssh

After installing homebrew's openssh on El Capitan, ssh-agent no longerseemed to work (in the sense that after using ssh-add to cache apassphrase, I still got a system prompt when trying to ssh). Thisseemed to be fixed by the instructions I found at the url below (myversion is functionally the same but uses PlistBuddy to edit theplist):

update /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist

This should change the original value of ProgramArguments:

to

Now restart the service

create $ZSH_INITDIR/ssh-ask-keychain (called from start_ssh_agent.zsh)

create $ZSH_INITDIR/start_ssh_agent.zsh

(either as a file sourced from .zshrc, or as a code block in a login script)

git

emacs

Install emacs24 binary from http://emacsformacosx.com/

Check out my .emacs.d

python

Use homebrew - seehttps://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md

Run brew info python for required and optional dependencies(installed above).

Install some python packages using homebrew - these are time consuming to install otherwise.

Install some other packages to the system using pip.

For elpy:

ansible

Others

R

Really doubling down on homebrew this time around:

mail

sshfs

Provided by the project http://osxfuse.github.io/ - the links beloware for binaries provided as installers.

wkhtmltopdf

HomebrewCapitan

Now create an alias:

Comments

Please enable JavaScript to view the comments powered by Disqus.