macossolrosx-maverickshomebrew

How install Solr on mac using homebrew?


In my homebrew I have access only to solr 4.9.0, but it was deleted from repo, so I see 404 error:

bmalets:~ bmalets$ brew install solr
==> Downloading http://www.apache.org/dyn/closer.cgi?path=lucene/solr/4.9.0/solr-4.9.0.tgz
==> Best Mirror http://apache.ip-connect.vn.ua/lucene/solr/4.9.0/solr-4.9.0.tgz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "solr"
Download failed: http://apache.ip-connect.vn.ua/lucene/solr/4.9.0/solr-4.9.0.tgz

Now solr 4.10.0 version are already avialable, but brew don't see it... Because in every turtorial for solr I see 'at 1st - run brew install solr'. And I don't want to have a problems with updating/upgrading in future... How can I setup brew to install fresh Solr version on my mac?

p.s. Homebrew 0.9.5, OS_X 10.9.5


Solution