Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Homebrew on Mac Os 10.10 or 10.11 is not working

After installed Homebrew, when I run any brew ***, I keep getting this error:

Homebrew requires Leopard or higher. For Tiger support, see:
https://github.com/mistydemeo/tigerbrew

My Env: Mac OS 10.10(Yosemite)

I checked the brew.rb source, it has:

if MACOS and MACOS_VERSION < 10.5
  abort <<-EOABORT.undent
    Homebrew requires Leopard or higher. For Tiger support, see:
    http://github.com/sceaga/homebrew/tree/tiger
  EOABORT
end

I have no idea why the Yosemite will trigger this version check.

like image 393
zhangv Avatar asked Oct 22 '14 05:10

zhangv


People also ask

Is macOS 10.10 still supported?

Support Ending December 31, 2019 In keeping with Apple's release cycle, macOS 10.10 Yosemite is no longer receiving security updates as of November of 2015. Our latest fully-supported operating system is macOS Mojave (10.14).


1 Answers

Edit the brew.rb file to get this :

# 10.10 stands for Mac OS Yosemite
# 10.11 stands for Mac OS El Capitan
if MACOS and MACOS_VERSION < 10.5 and MACOS_VERSION != 10.1 and MACOS_VERSION != 10.11
  abort <<-EOABORT.undent
    Homebrew requires Leopard or higher. For Tiger support, see:
    http://github.com/sceaga/homebrew/tree/tiger
  EOABORT
end

It'll then install fine.

This is because 10.10 is the same than 10.1 which is below 10.5

like image 57
Thomas Ayoub Avatar answered Oct 11 '22 23:10

Thomas Ayoub