Skip to content

Instantly share code, notes, and snippets.

@cygri
Last active March 30, 2016 01:17
Show Gist options
  • Save cygri/6725377 to your computer and use it in GitHub Desktop.
Save cygri/6725377 to your computer and use it in GitHub Desktop.

Using Homebrew on OS X?

Want Apache Jena's command-line tools, including the incredibly useful sparql command, but can't be bothered endlessly messing with Jena's environment variables to get them to work?

Try the command below, which installs Jena via a formula made by my colleague Kevin Lyda:

brew install https://raw.github.com/lyda/homebrew/jena/Library/Formula/jena.rb

If it worked, you can now do:

sparql --help

This is experimental! Does it work for you? Any errors? Comment below!

@AniDa
Copy link

AniDa commented Sep 27, 2013

It works beautifully on my OS X v. 10.6.8 :)

@kasei
Copy link

kasei commented Sep 27, 2013

Nice. Works just fine on 10.8.5.

@paregorios
Copy link

now fails

$ brew install https://raw.github.com/lyda/homebrew/jena/Library/Formula/jena.rb
######################################################################## 100.0%
==> Downloading http://www.apache.org/dist/jena/binaries/apache-jena-2.11.0.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "jena"
Download failed: http://www.apache.org/dist/jena/binaries/apache-jena-2.11.0.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment