After installing homebrew's openssh on El Capitan, ssh-agent no longer seemed to work (in the sense that after using ssh-add to cache a passphrase, I still got a system prompt when trying to ssh). This seemed to be fixed by the instructions I found at the url below (my version is functionally the same but uses PlistBuddy to edit the plist). Homebrew was written 2009 by Max Howell and has gained popularity in the Ruby on Rails community and earned praise for its extensibility. Install GNU Octave using Homebrew: Install Xcode via the Mac App Store. Install the Command Line Tools by opening a terminal and type sudo xcode-select -install; Follow Homebrew's installation instructions.
We found 14 results for Homebrew in or near El Dorado Hills, CA. They also appear in other related business categories including Beer & Ale, Beer Makers Equipment & Supplies, and Winery Equipment & Supplies. The businesses listed also serve surrounding cities and neighborhoods including Auburn CA, Folsom CA, and Grass Valley CA. 推奨方法:El Capitanへアップグレードする前にHomebrewを入れてしまう. If you don't already have homebrew installed, do that first, so you don't have to deal with SIP issues. Post Upgrade to El Capitan, with Homebrew & Ruby.md.
On macOS systems GNU Octave can be installed by:
- macOS App Bundles 'Octave.app' (a single dmg-file)
- macOS package managers.
macOS App Bundles[edit]
The Octave.app project provides an unofficial ready-to-use, drag-and-drop macOS App installer based on Homebrew (see below).
A very old installer is hosted on SourceForge.
- macOS App Bundle of Octave 4.0.3 (with GUI) (OS X 10.9+)
Package Managers[edit]
All package managers below are given in alphabetical order. The Octave developers do not recommend a certain package manager.
Homebrew[edit]
→ Link to Octave package there.
Homebrew was written 2009 by Max Howell and has gained popularity in the Ruby on Rails community and earned praise for its extensibility.
Install GNU Octave using Homebrew:
- Install Xcode via the Mac App Store.
- Install the Command Line Tools by opening a terminal and type
- Follow Homebrew's installation instructions.
- Ensure brew itself has the latest definitions
- Install Octave
Further reading[edit]
The default charting package in Octave is straight qt. However, on the Mac gnuplot often works better. To switch to gnuplot, place the following text in your ~/.octaverc file:
Note: If brew complains about:
This is telling you the user permissions for ghostscript are not setup in a way that your user profile can use. You need to change those permissions to your user profile.The following command will repair the issue:
Then run the brew install octave
command again.
Note: If brew complains about not having a formula for octave, the following command should fix it:
The command below upgrades Octave and its dependencies to the latest Homebrew-supported versions:
Octave has a built-in GUI (developed using Qt lib) installed by default so that gnuplot and other tools can use it directly. This GUI is always installed when installing Octave using Homebrew.
In case of trouble, see the Homebrew Troubleshooting Guide, which assists in diagnosing problems and craft useful bug reports. Bugs may be reported at Homebrew-core's issue tracker.
MacPorts[edit]
→ Link to Octave package there.
MacPorts, formerly called DarwinPorts, was started in 2002 as part of the OpenDarwin project, with the involvement of a number of Apple Inc. employees including Landon Fuller, Kevin Van Vechten, and Jordan Hubbard.
Install GNU Octave using MacPorts:
- Install Xcode via the Mac App Store.
- Install the Command Line Tools by opening a terminal and type
- Follow MacPorts' installation instructions.
- Update your installation
- Install Octave
Spack[edit]
→ Link to Octave package there.
Spack is a package management tool that supports the installation of multiple versions of software on macOS and other operating systems. It was created 2013 by Todd Gamblin and is currently being updated and developed by a large list of contributors (mainly via GitHub).
Install GNU Octave using Spack:
- Install Xcode via the Mac App Store.
- Install the Command Line Tools by opening a terminal and type
- Follow Spack tutorial.
- Update Spack by going to the local Spack repository (develop branch) folder and run
- Install Octave
- To use Octave we need to first load the package
In case of trouble, please visit the Spack repo issues list, and browse through Octave related issues by writing is:issue octave
in the filters box.
Create a launcher app with the Script Editor[edit]
For example Homebrew installs Octave to /usr/local/bin/octave by default. From the Terminal application you can enter the command which octave
to find out the exact location.
If you know the installation location, open the Script Editor application and write the following text in the editor window:
if you wish to start the Octave GUI by default. If you want to start the Octave command-line interface (CLI), enter instead:
or if Octave is in your default path:

Finally:
- With a script open in the Script Editor app on your Mac, choose 'File > Export'.
- In the menu that appears, select 'Application' from the 'File format' menu, then navigate to the 'Applications' folder and save your script there as 'Octave.app'
To change the application icon:
- Open this link in a web browser, right-click and select 'copy image'.
- Select 'Octave.app' in the Finder, then press command-i to bring up the file info dialog.
- In the file info dialog, select the icon (in the top left) and press command-v to paste the Octave icon over it.

See also[edit]
- Octave for macOS (outdated) contains old installation instructions.
Footnotes[edit]
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
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
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/
Homebrew El Capitan
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:
sshfs
Homebrew El Capitan Software
Provided by the project http://osxfuse.github.io/ - the links beloware for binaries provided as installers.
wkhtmltopdf
Now create an alias: