{"id":9524,"date":"2018-02-14T15:54:51","date_gmt":"2018-02-14T14:54:51","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/?p=9524"},"modified":"2018-02-28T07:49:58","modified_gmt":"2018-02-28T06:49:58","slug":"install-brew-under-lion","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2018\/02\/install-brew-under-lion\/","title":{"rendered":"Install brew under Lion?"},"content":{"rendered":"<p>To give an early Macbook Air from 2010 some useful tasks, a package manager is needed. The basic requirement is always Xcode 4.6.3 (from 2013) while also the command line tools are necessary.<!--more--><\/p>\n<p>Using some code from an <a href=\"https:\/\/derflounder.wordpress.com\/2015\/02\/02\/installing-the-xcode-command-line-tools-on-10-7-x-and-later\/\">earlier script<\/a> I wrote<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nXC=xc.dmg\r\nDMGURL=https:\/\/download.developer.apple.com\/Developer_Tools\/xcode_4.6.3\/xcode4630916281a.dmg\r\ncurl &quot;$DMGURL&quot; -o &quot;$XC&quot;\r\nDMGURL=http:\/\/devimages.apple.com\/downloads\/xcode\/command_line_tools_for_xcode_os_x_lion_april_2013.dmg\r\nTOOLS=cltools.dmg\r\ncurl &quot;$DMGURL&quot; -o &quot;$TOOLS&quot;\r\n<\/pre>\n<p>Then install Xcode, then Commandline Tools as an untrusted package.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nTMPMOUNT=`\/usr\/bin\/mktemp -d \/tmp\/clitools.XXXX`\r\nhdiutil attach &quot;$TOOLS&quot; -mountpoint &quot;$TMPMOUNT&quot; -nobrowse\r\nsudo installer -allowUntrusted -pkg &quot;$(find $TMPMOUNT -name '*.mpkg')&quot; -target \/\r\nhdiutil detach &quot;$TMPMOUNT&quot;\r\nrm -rf &quot;$TMPMOUNT&quot;\r\nrm &quot;$TOOLS&quot;\r\n<\/pre>\n<p>So far so good. Then I installed<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/usr\/bin\/ruby -e &quot;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)&quot;\r\n<\/pre>\n<p>and run several &#8220;brew update&#8221; and &#8220;brew doctor&#8221; which failed due to SSL errors. Only <a href=\"https:\/\/www.macports.org\/install.php\">macport<\/a> worked perfect and compiled all my sources (fswatch&#8230;.).<\/p>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 10.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>To give an early Macbook Air from 2010 some useful tasks, a package manager is needed. The basic requirement is always Xcode 4.6.3 (from 2013) while also the command line tools are necessary. &nbsp; CC-BY-NC Science Surf , accessed 10.04.2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2997],"class_list":["post-9524","post","type-post","status-publish","format-standard","hentry","category-computer-software","tag-homebrew"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/9524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=9524"}],"version-history":[{"count":12,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/9524\/revisions"}],"predecessor-version":[{"id":9552,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/9524\/revisions\/9552"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=9524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=9524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=9524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}