{"id":33100,"date":"2015-10-02T00:37:36","date_gmt":"2015-10-01T15:37:36","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=33100"},"modified":"2015-10-02T00:37:36","modified_gmt":"2015-10-01T15:37:36","slug":"os-x-el-capitan-and-homebrew","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/os-x-el-capitan-and-homebrew\/","title":{"rendered":"\u3010Tips\u3011OS X El Capitan\u3067Homebrew\u3092\u4f7f\u3046\u5834\u5408\u3001\u6ce8\u610f\u3057\u305f\u3044\u305f\u3063\u305f1\u3064\u306e\u30dd\u30a4\u30f3\u30c8"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/10\/IOS-X-El-Capitan.jpg\" alt=\"OS X El Capitan\" title=\"OS-X-El-Capitan.jpg\" border=\"0\" width=\"544\" height=\"306\" \/><\/p>\n<p>10\u67081\u65e5\u306b\u5f85\u671b\u306e\u6b63\u5f0f\u7248\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u300cOS X El Capitan\u300d\u3002\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5168\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u3001\u5730\u5473\u306a\u304c\u3089\u91cd\u8981\u306a\u6a5f\u80fd\u300c<a href=\"https:\/\/en.wikipedia.org\/wiki\/System_Integrity_Protection\">System Integrity Protection<\/a>\u300d(SIP)\u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>SIP\u6709\u52b9\u5316\u3067\u306f\u3001root\u30e6\u30fc\u30b6\u30fc\u3082\u3001\/usr(\u305f\u3060\u3057\/usr\/local\u306f\u9664\u5916)\u3001\/System\u3001\/bin\u3068\u3044\u3063\u305f\u3001OS\u306b\u3068\u3063\u3066\u91cd\u8981\u306a\u30d5\u30a9\u30eb\u30c0\u306b\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u305a\u3001\u4e0d\u6b63\u306a\u30d5\u30a1\u30a4\u30eb\u6539\u5909\u3092\u9632\u3050\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3001Mac\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30b7\u30b9\u30c6\u30e0\u300c<a href=\"http:\/\/brew.sh\/index_ja.html\">Homebrew<\/a>\u300d\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\/usr\/local\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3068\u3057\u3066\u4f7f\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u4e00\u898bSIP\u306b\u7121\u95a2\u4fc2\u306e\u3088\u3046\u306b\u3082\u601d\u3048\u307e\u3059\u304c\u3001\u3044\u304f\u3064\u304b\u6ce8\u610f\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u843d\u3068\u3057\u7a74\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>OS X El Capitan\u3067Homebrew\u3092\u4f7f\u3046\u305f\u3081\u306e\u6ce8\u610f\u70b9\u304c<br \/>\n\u300c<a href=\"https:\/\/github.com\/Homebrew\/homebrew\/blob\/master\/share\/doc\/homebrew\/El_Capitan_and_Homebrew.md\">El Capitan & Homebrew<\/a>\u300d\u306b\u3066\u3001\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059(<a href=\"https:\/\/news.ycombinator.com\/item?id=10309576\">Hacker News<\/a>)\u3002<\/p>\n<p><!--more--><\/p>\n<h2>1. \/usr\/local\u304c\u5b58\u5728\u3059\u308b\u5834\u5408<\/h2>\n<p>OS X El Capitan\u3092\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3042\u308b\u3044\u306f\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u5f8c\u306b\u3001\/usr\/local\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u3001\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u304c\u66f8\u304d\u8fbc\u3081\u308b\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre>\nsudo chown $(whoami):admin \/usr\/local && sudo chown -R $(whoami):admin \/usr\/local\n<\/pre>\n<p>\u3053\u308c\u306f\u7c21\u5358\u3067\u3059\u3002<\/p>\n<h2>2. \/usr\/local\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408<\/h2>\n<p>\u306a\u3093\u3089\u304b\u306e\u7406\u7531\u3067\/usr\/local\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u3001\u304b\u306a\u308a\u5384\u4ecb\u3067\u3059\u3002SIP\u3092\u4e00\u5ea6\u7121\u52b9\u306b\u3057\u3066\/usr\/local\u3092\u4f5c\u6210\u5f8c\u3001\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3057\u3001\u307e\u305fSIP\u3092\u6709\u52b9\u306b\u623b\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>Command+R\u3092\u62bc\u3057\u306a\u304c\u3089\u8d77\u52d5\u3057\u30ea\u30ab\u30d0\u30ea\u30e2\u30fc\u30c9\u3067\u8d77\u52d5<\/li>\n<li>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u300ccsrutil disable\u300d\u3092\u5b9f\u884c(SIP\u3092\u7121\u52b9\u5316)<\/li>\n<li>\u518d\u8d77\u52d5<\/li>\n<li>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\n<pre>\nsudo mkdir \/usr\/local && sudo chflags norestricted \/usr\/local && sudo chown $(whoami):admin \/usr\/local && sudo chown -R $(whoami):admin \/usr\/local\n<\/pre>\n<\/li>\n<li>\u518d\u5ea6Command+R\u3092\u62bc\u3057\u306a\u304c\u3089\u8d77\u52d5\u3057\u30ea\u30ab\u30d0\u30ea\u30e2\u30fc\u30c9\u3067\u8d77\u52d5<\/li>\n<li>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u300ccsrutil enable\u300d\u3092\u5b9f\u884c(SIP\u3092\u6709\u52b9\u5316)<\/li>\n<li>\u518d\u8d77\u52d5\u3059\u308b\u3068\/usr\/local\u306b\u66f8\u304d\u8fbc\u3081\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067Homebrew\u3092\u666e\u901a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\/usr\/local\u304c\u5b58\u5728\u3057\u3055\u3059\u308c\u3070\u3001\u305f\u3044\u3057\u3066\u9762\u5012\u3067\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059(\u6d88\u3057\u3066\u3057\u307e\u3063\u3066\u3082\u3001\u5bfe\u51e6\u4e0d\u80fd\u3068\u3044\u3046\u307b\u3069\u3067\u306f\u306a\u3044\u3067\u3059\u304c)\u3002\/usr\/local\u306fHomebrew\u4ee5\u5916\u3082\u4f7f\u3046\u30d5\u30a9\u30eb\u30c0\u3067\u3059\u306e\u3067\u3001\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u524d\u306b\/usr\/local\u3092\u524a\u9664\u3057\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u305f\u307b\u3046\u304c\u3088\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>10\u67081\u65e5\u306b\u5f85\u671b\u306e\u6b63\u5f0f\u7248\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u300cOS X El Capitan\u300d\u3002\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5168\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u3001\u5730\u5473\u306a\u304c\u3089\u91cd\u8981\u306a\u6a5f\u80fd\u300cSystem Integrity Protection\u300d(SIP)\u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002 S [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":33099,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[4,75],"tags":[3223,8],"class_list":["post-33100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac","category-software","tag-elcapitan","tag-osx"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/33100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=33100"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/33100\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/33099"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=33100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=33100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=33100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}