{"id":32,"date":"2012-07-26T16:56:00","date_gmt":"2012-07-26T16:56:00","guid":{"rendered":"http:\/\/www.mirageglobe.com\/wp\/?p=32"},"modified":"2018-11-09T11:07:30","modified_gmt":"2018-11-09T11:07:30","slug":"homebrew-for-osx","status":"publish","type":"post","link":"https:\/\/pages.alldaycity.com\/mirageglobe\/homebrew-for-osx\/","title":{"rendered":"Setting up homebrew for OSX"},"content":{"rendered":"<div dir=\"ltr\"><img loading=\"lazy\" decoding=\"async\" width=\"2000\" height=\"1333\" class=\"size-medium wp-image-910 aligncenter\" src=\"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2018\/11\/blogging-blur-business-261662.jpg\" alt=\"\" srcset=\"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2018\/11\/blogging-blur-business-261662.jpg 2000w, https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2018\/11\/blogging-blur-business-261662-300x200.jpg 300w, https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2018\/11\/blogging-blur-business-261662-768x512.jpg 768w, https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2018\/11\/blogging-blur-business-261662-1024x682.jpg 1024w\" sizes=\"auto, (max-width: 2000px) 100vw, 2000px\" \/><\/div>\n<div dir=\"ltr\">&nbsp;<\/div>\n<div dir=\"ltr\">Homebrew which is a package manager for OSX. To install just follow the homebrew website&nbsp;<a href=\"http:\/\/mxcl.github.com\/homebrew\/\">http:\/\/mxcl.github.com\/homebrew\/<\/a>&nbsp;&nbsp;<\/p>\n<blockquote><p>$ \/usr\/bin\/ruby -e &#8220;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)&#8221;<\/p><\/blockquote>\n<p>It is recommended to install brew cask which is an application installer. Its different from default brew as brew only installs in command binary apps in bin folder, meaning you can only access them via commandline. Cask which is an addition, installs standard mac applications for you.<\/p>\n<blockquote><p>$ brew install caskroom\/cask\/brew-cask<\/p><\/blockquote>\n<p>After installation. open terminal and run brew update and brew doctor<\/p>\n<blockquote><p>$ brew update<br \/>\n$ brew doctor<\/p><\/blockquote>\n<p>You should get lots of updates and installs plus warning. Now if you look at the problems, you may find this problem. Where do you update the bash file or profile. basically you should be able to find this in your home directory. the home directory is the current folder when you open up terminal. Alternatively just type ~\/ .which will bring you back to your home directory.<\/p>\n<blockquote><p>$ cd ~<\/p><\/blockquote>\n<p>Okay. next is to create a bash profile. so try the following<\/p>\n<blockquote><p>$ open -t ~\/.bash_profile<\/p><\/blockquote>\n<p>If you get an error. Just do this.<\/p>\n<blockquote><p>$ touch ~\/.bash_profile<br \/>\n$ open -t ~\/.bash_profile<\/p><\/blockquote>\n<p>Next add in these lines to your end of profile.<\/p>\n<blockquote><p># HomeBrew Added Paths<br \/>\nexport PATH=&#8221;\/usr\/local\/bin:$PATH:\/usr\/local\/sbin&#8221;<\/p><\/blockquote>\n<p>Then redo the brew doctor again. You should see less problems.<\/p>\n<blockquote><p>$ source ~\/.profile&gt; brew doctor<\/p><\/blockquote>\n<p>If you are all okay you should get <i>&#8220;Your system is raring to brew.<\/i><br \/>\n<i>&#8220;<\/i><\/p>\n<p>Some common errors listed below and perhaps you can fix.<\/p>\n<p><b>Problem 1<\/b><\/p>\n<p>Warning: Some directories in \/usr\/local\/share\/man aren&#8217;t writable.<br \/>\nThis can happen if you &#8220;sudo make install&#8221; software that isn&#8217;t managed<br \/>\nby Homebrew. If a brew tries to add locale information to one of these<br \/>\ndirectories, then the install will fail during the link step.<br \/>\nYou should probably `chown` them:<\/p>\n<p>\/usr\/local\/share\/man\/de<br \/>\n\/usr\/local\/share\/man\/de\/man1<\/p>\n<p>Solution:<\/p>\n<blockquote><p>$ sudo chmod -R 777 \/usr\/local\/share\/man\/de<\/p><\/blockquote>\n<p><b>Problem 2<\/b><br \/>\n<b><br \/>\n<\/b>Warning: Unbrewed dylibs were found in \/usr\/local\/lib.<br \/>\nIf you didn&#8217;t put them there on purpose they could cause problems when<br \/>\nbuilding Homebrew formulae, and may need to be deleted.<\/p>\n<p>Unexpected dylibs:<br \/>\n\/usr\/local\/lib\/libntfs-3g.54.0.0.dylib &nbsp; &nbsp;\/usr\/local\/lib\/libntfs.9.0.0.dylib<br \/>\nWarning: Unbrewed .pc files were found in \/usr\/local\/lib\/pkgconfig.<br \/>\nIf you didn&#8217;t put them there on purpose they could cause problems when<br \/>\nbuilding Homebrew formulae, and may need to be deleted.<\/p>\n<p>Unexpected .pc files:<br \/>\n\/usr\/local\/lib\/pkgconfig\/libntfs-3g.pc<br \/>\nWarning: Unbrewed static libraries were found in \/usr\/local\/lib.<br \/>\nIf you didn&#8217;t put them there on purpose they could cause problems when<br \/>\nbuilding Homebrew formulae, and may need to be deleted.<\/p>\n<p>Solution: Remove the files by<\/p>\n<blockquote><p>$ rm&nbsp;\/usr\/local\/lib\/libntfs-3g.54.0.0.dylib<\/p><\/blockquote>\n<div>&nbsp;<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Homebrew which is a package manager for OSX. To install just follow the homebrew website&nbsp;http:\/\/mxcl.github.com\/homebrew\/&nbsp;&nbsp; $ \/usr\/bin\/ruby -e &#8220;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)&#8221; It is recommended to install brew cask which is an application installer. Its different from default brew as brew only installs in command binary apps in bin folder, meaning you can only access [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":5,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":917,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/32\/revisions\/917"}],"wp:attachment":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}