UJP - 技術情報2 : HomeBrew/install/MacOSX10.14.4Mojave をテンプレートにして作成
Life is fun and easy!
不正IP報告数
Okan Sensor
Home
Information
Service
Tech(Free)
Tech(Member)
Blog
FAQ
メイン
ホーム
お知らせ
技術新着情報
組織
サービス
技術情報2
新規ページ作成
最新ページ一覧
全ページ一覧
ヘルプ
技術情報1
技術情報
ブログ
RSSサイト更新
旧ブログ
FAQ
画像ファイル管理
ログイン
ユーザー名:
パスワード:
パスワード再発行手続き
|
無料会員入会手続へ...
ブログ カテゴリ一覧
雑記
(237)
投資で凍死
(271)
時事
(506)
テレビ・ドラマ
(419)
映画
(915)
007シリーズ
(33)
刑事コロンボ
(62)
災害
(212)
スキルチャージ
(49)
放送大学
(23)
Python
(10)
検定・試験
(32)
セキュリティ
(5)
ニュース・徒然
(325)
脆弱性情報/注意喚起
(110)
スパム・フィッシング
(634)
攻撃/ブルートフォース
(24)
ツール
(130)
事故・事件
(104)
文献・統計・参考資料
(128)
ベンダ・サービス
(3)
事故被害者記録
(46)
あとで確認
(1)
システム障害事故
(55)
サイト構築
(74)
Apple
(18)
MacBook Pro
(0)
2011 13inch
(31)
2007 15inch
(1)
2008 17inch
(20)
2015 15inch
(6)
Mac Pro 2013
(10)
Apple Watch
(84)
mac mini
(0)
2018
(1)
2011 server
(4)
2010 server
(5)
2014
(15)
2010
(36)
2005
(8)
MacBook
(0)
2017 12inch
(11)
2008 late
(45)
MacBook Air
(0)
2011 13inch/BCP
(9)
2013 13inch/US
(5)
2011 11inch
(31)
2011 13inch
(8)
Macソフト
(134)
Mac周辺機器
(36)
PowerBook
(5)
iPod touch/iOS
(59)
iPhone
(172)
iPad
(76)
ガジェット
(116)
fire tv
(1)
文房具
(19)
HUAWEI Watch FIT
(10)
カメラ/デジカメ
(40)
タイムラプス
(6)
ネットワーク機器
(17)
ネットワークケーブル
(4)
ネットワークその他
(8)
ネットワークスピード
(14)
YAMAHA/ヤマハ
(1)
FWX120
(2)
RTX1200
(14)
RTX1100/RTX1000
(10)
RT107e
(2)
NETGEAR WAC510
(11)
NERGEAR Orbi
(1)
Panasonic MNOseries
(3)
マウス&キーボード
(58)
AV機器・レグザ
(99)
電球
(11)
ハウツー
(105)
GPS/地図
(70)
ビジネス
(169)
新規ビジネス
(19)
お仕事
(63)
ケータイビジネス
(41)
PC
(11)
Raspberry Pi
(58)
ML110 G5
(20)
LIFEBOOK
(11)
Surface
(50)
ThinkPad R61
(5)
CF-LX4
(9)
CF-RZ6
(7)
DynabookPT45
(8)
PN-ZP30
(5)
EndeavorTN40
(4)
Intel NUC6CAYS
(2)
モバイル
(16)
ケータイスマホ機種
(34)
スマホアプリ
(73)
データ通信・契約
(79)
EMONSTER
(5)
IDEOS
(12)
Galaxy Note
(39)
Windows Phone
(20)
Nexus
(22)
コンピュータ
(11)
Windows
(90)
サーバソフト
(32)
Db2
(16)
クライアントソフト
(76)
インターネット
(69)
Google
(119)
ネットサービス
(157)
ハードウェア
(19)
プリンタ
(9)
ストレージ
(5)
ディスプレイ
(11)
情報システム
(95)
趣味
(3)
ポケモンGO
(640)
寝台特急カシオペア/カシオペア紀行
(34)
TOKYO2020
(85)
雑草対策
(27)
食べた
(209)
たべた(駅弁)
(30)
飲んだ
(33)
調理した
(24)
ラーメン・麺類
(202)
鉄道
(237)
農園
(168)
アクアリウム
(160)
ホテル・旅館
(44)
書評
(42)
演劇
(22)
車・バイク
(76)
自然・星
(37)
散策・近代建築
(18)
神社・寺
(50)
高層ビル
(24)
現代建築
(15)
建築物
(6)
観光・名所
(88)
イベント
(73)
散策:城
(34)
ディズニー
(24)
モーターショー
(16)
鳥
(9)
美術館
(28)
コンサート/ライブ
(72)
船
(3)
スポーツ
(120)
音楽
(76)
ミニカー
(4)
Nゲージダイキャスト
(8)
Nゲージ
(0)
サマリ
(6)
ピンバッチ
(3)
サイト運営
(39)
人生
(68)
監視/防犯/みまもり/遠隔
(93)
お金の話
(94)
体・病気
(118)
相続・土地売買
(17)
コンテンツ更新情報
(2)
HomeBrewをMacOS X 10.14.4 Mojavaにインストール
をテンプレートにして作成
技術情報2
HomeBrew/install/MacOSX10.14.4Mojave をテンプレートにして作成
開始行:
*HomeBrewをMacOS X 10.14.4 Mojavaにインストール
**はじめに
Yosemite以降,High Sierraまでは同じ手順でインストールが...
この記事では,そのエラーも体験しながら,エラーを解決し...
**バージョンの確認.
これからインストールを行う対象のマシンのOSバージョンを...
MBA2013:Users ujpadmin$ sw_vers🆑
ProductName: Mac OS X
ProductVersion: 10.14.4
BuildVersion: 18E227
MBA2013:Users ujpadmin$
macos 10.14なので,通称mojaveというもの.
Xcodeは,あらかじめApp Storeからインストール済み.
MBA2013:Users ujpadmin$ xcodebuild -version🆑
Xcode 10.2.1
Build version 10E1001
MBA2013:Users ujpadmin$
現時点(2019/06/06)で最新版.
**HomeBrewをインストールする(失敗する)
いつものように公式サイトに記載されている通りに,rubyを...
MBA2013:Users ujpadmin$ /usr/bin/ruby -e "$(curl -fsSL h...
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The Xcode Command Line Tools will be installed.
Press RETURN to continue or any other key to abort
インストールを続けるので,リターンキーを押下.
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.Comm...
Password:
Macの開発環境であるXcodeのコマンドラインツールをインス...
==> Installing the Command Line Tools (expect a GUI popu...
==> /usr/bin/sudo /usr/bin/xcode-select --install
xcode-select: note: install requested for command line d...
Press any key when the installation has completed.
何かキーを押すことで,インストールが始まるというので,...
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Librar...
xcode-select: error: invalid developer directory '/Libra...
Failed during: /usr/bin/sudo /usr/bin/xcode-select --swi...
MBA2013:Users ujpadmin$
エラーがでて失敗.invalid developer directory となって...
コマンドラインで,デベロッパ用のディレクトリを確認.
MBA2013:Users ujpadmin$ /usr/bin/xcode-select -p
/Applications/Xcode.app/Contents/Developer
MBA2013:Users ujpadmin$
ディレクトリが異なる模様.
**Xcodeをスイッチする
Xcodeのインストールディレクトリが変更された?ようなので...
MBA2013:Users ujpadmin$ sudo xcode-select -switch /Appli...
Password:
MBA2013:Users ujpadmin$
切り替えられたことを確認.
MBA2013:Users ujpadmin$ xcode-select -p🆑
/Applications/Xcode.app/Contents/Developer
MBA2013:Users ujpadmin$
再度,HomeBrewのインストールを行う.
MBA2013:Users ujpadmin$ /usr/bin/ruby -e "$(curl -fsSL h...
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The Xcode Command Line Tools will be installed.
Press RETURN to continue or any other key to abort
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.Comm...
==> Installing the Command Line Tools (expect a GUI popu...
==> /usr/bin/sudo /usr/bin/xcode-select --install
xcode-select: note: install requested for command line d...
Press any key when the installation has completed.
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Librar...
xcode-select: error: invalid developer directory '/Libra...
Failed during: /usr/bin/sudo /usr/bin/xcode-select --swi...
MBA2013:Users ujpadmin$
残念.エラーは変わらず.これは,インストーラがパスをハ...
以下のURLにあるスクリプトを確認して見ると...
https://raw.githubusercontent.com/Homebrew/install/maste...
いたるところに/Library/Developer/CommandLineToolsにスイ...
インストーラを修正するのは恒久的なことを考えたら影響が...
**/Library/Developer/CommandLineToolsのシンボリックリンク...
問題は/Library/Developer/CommandLineToolsがないことなの...
まずは,現在の上位ディレクトリの確認.
MBA2013:Users ujpadmin$ ls -la /Library/Developer🆑
total 0
drwxr-xr-x 3 root admin 96 2 28 11:36 .
drwxr-xr-x+ 63 root wheel 2016 6 4 18:53 ..
drwxr-xr-x 4 root admin 128 3 13 11:53 PrivateFram...
MBA2013:Users ujpadmin$
ここに,CommandLineToolsのリンクを作成する.
MBA2013:Users ujpadmin$ sudo ln -s /Applications/Xcode.a...
MBA2013:Users ujpadmin$
リンクが作成されたか確認する.
MBA2013:Users ujpadmin$ ls -la /Library/Developer🆑
total 0
drwxr-xr-x 4 root admin 128 6 6 11:49 .
drwxr-xr-x+ 63 root wheel 2016 6 4 18:53 ..
lrwxr-xr-x 1 root admin 42 6 6 11:49 CommandLine...
drwxr-xr-x 4 root admin 128 3 13 11:53 PrivateFram...
MBA2013:Users ujpadmin$
これで,再度インストールを行う.
**HomeBrewをインストールする()
MBA2013:Users ujpadmin$ /usr/bin/ruby -e "$(curl -fsSL h...
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN to continue or any other key to abort🆑
==> Downloading and installing Homebrew...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 124174 (delta 18), reused 45 (delta 17), p...
Receiving objects: 100% (124174/124174), 29.34 MiB | 1.1...
Resolving deltas: 100% (90987/90987), done.
From https://github.com/Homebrew/brew
* [new branch] master -> origin/master
* [new tag] 0.1 -> 0.1
* [new tag] 0.2 -> 0.2
* [new tag] 0.3 -> 0.3
* [new tag] 0.4 -> 0.4
* [new tag] 0.5 -> 0.5
* [new tag] 0.6 -> 0.6
* [new tag] 0.7 -> 0.7
* [new tag] 0.7.1 -> 0.7.1
* [new tag] 0.8 -> 0.8
* [new tag] 0.8.1 -> 0.8.1
* [new tag] 0.9 -> 0.9
〜略〜
* [new tag] 2.1.3 -> 2.1.3
* [new tag] 2.1.4 -> 2.1.4
HEAD is now at 80230eccf Merge pull request #6210 from l...
==> Homebrew is run entirely by unpaid volunteers. Pleas...
https://github.com/Homebrew/brew#donations
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/...
remote: Enumerating objects: 5001, done.
remote: Counting objects: 100% (5001/5001), done.
remote: Compressing objects: 100% (4792/4792), done.
remote: Total 5001 (delta 51), reused 796 (delta 16), pa...
Receiving objects: 100% (5001/5001), 4.01 MiB | 1.08 MiB...
Resolving deltas: 100% (51/51), done.
Checking out files: 100% (5018/5018), done.
Tapped 2 commands and 4787 formulae (5,043 files, 12.5MB).
Already up-to-date.
==> Installation successful!🆑
==> Homebrew has enabled anonymous aggregate formulae an...
Read the analytics documentation (and how to opt-out) he...
https://docs.brew.sh/Analytics
==> Homebrew is run entirely by unpaid volunteers. Pleas...
https://github.com/Homebrew/brew#donations
==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
MBA2013:Users ujpadmin$
**インストール後の確認処理
brew doctorコマンドで,インストールに問題なかったか確認.
MBA2013:Users ujpadmin$ brew doctor🆑
Your system is ready to brew.
MBA2013:Users ujpadmin$
問題ない模様.
MBA2013:Users ujpadmin$ brew --config🆑
HOMEBREW_VERSION: 2.1.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: d5a90f6f4af0a8e3d0ff1d806fb65e1b3bdbbe42
Last commit: 10 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c58dce188e274656041f0dd72aca59a8a968248d
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby....
Clang: 10.0 build 1001
Git: 2.20.1 => /Applications/Xcode.app/Contents/Develope...
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.4-x86_64
CLT: N/A
Xcode: 10.2.1
MBA2013:Users ujpadmin$
問題ないかどうかは,わからんな.
終了行:
*HomeBrewをMacOS X 10.14.4 Mojavaにインストール
**はじめに
Yosemite以降,High Sierraまでは同じ手順でインストールが...
この記事では,そのエラーも体験しながら,エラーを解決し...
**バージョンの確認.
これからインストールを行う対象のマシンのOSバージョンを...
MBA2013:Users ujpadmin$ sw_vers🆑
ProductName: Mac OS X
ProductVersion: 10.14.4
BuildVersion: 18E227
MBA2013:Users ujpadmin$
macos 10.14なので,通称mojaveというもの.
Xcodeは,あらかじめApp Storeからインストール済み.
MBA2013:Users ujpadmin$ xcodebuild -version🆑
Xcode 10.2.1
Build version 10E1001
MBA2013:Users ujpadmin$
現時点(2019/06/06)で最新版.
**HomeBrewをインストールする(失敗する)
いつものように公式サイトに記載されている通りに,rubyを...
MBA2013:Users ujpadmin$ /usr/bin/ruby -e "$(curl -fsSL h...
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The Xcode Command Line Tools will be installed.
Press RETURN to continue or any other key to abort
インストールを続けるので,リターンキーを押下.
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.Comm...
Password:
Macの開発環境であるXcodeのコマンドラインツールをインス...
==> Installing the Command Line Tools (expect a GUI popu...
==> /usr/bin/sudo /usr/bin/xcode-select --install
xcode-select: note: install requested for command line d...
Press any key when the installation has completed.
何かキーを押すことで,インストールが始まるというので,...
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Librar...
xcode-select: error: invalid developer directory '/Libra...
Failed during: /usr/bin/sudo /usr/bin/xcode-select --swi...
MBA2013:Users ujpadmin$
エラーがでて失敗.invalid developer directory となって...
コマンドラインで,デベロッパ用のディレクトリを確認.
MBA2013:Users ujpadmin$ /usr/bin/xcode-select -p
/Applications/Xcode.app/Contents/Developer
MBA2013:Users ujpadmin$
ディレクトリが異なる模様.
**Xcodeをスイッチする
Xcodeのインストールディレクトリが変更された?ようなので...
MBA2013:Users ujpadmin$ sudo xcode-select -switch /Appli...
Password:
MBA2013:Users ujpadmin$
切り替えられたことを確認.
MBA2013:Users ujpadmin$ xcode-select -p🆑
/Applications/Xcode.app/Contents/Developer
MBA2013:Users ujpadmin$
再度,HomeBrewのインストールを行う.
MBA2013:Users ujpadmin$ /usr/bin/ruby -e "$(curl -fsSL h...
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The Xcode Command Line Tools will be installed.
Press RETURN to continue or any other key to abort
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.Comm...
==> Installing the Command Line Tools (expect a GUI popu...
==> /usr/bin/sudo /usr/bin/xcode-select --install
xcode-select: note: install requested for command line d...
Press any key when the installation has completed.
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Librar...
xcode-select: error: invalid developer directory '/Libra...
Failed during: /usr/bin/sudo /usr/bin/xcode-select --swi...
MBA2013:Users ujpadmin$
残念.エラーは変わらず.これは,インストーラがパスをハ...
以下のURLにあるスクリプトを確認して見ると...
https://raw.githubusercontent.com/Homebrew/install/maste...
いたるところに/Library/Developer/CommandLineToolsにスイ...
インストーラを修正するのは恒久的なことを考えたら影響が...
**/Library/Developer/CommandLineToolsのシンボリックリンク...
問題は/Library/Developer/CommandLineToolsがないことなの...
まずは,現在の上位ディレクトリの確認.
MBA2013:Users ujpadmin$ ls -la /Library/Developer🆑
total 0
drwxr-xr-x 3 root admin 96 2 28 11:36 .
drwxr-xr-x+ 63 root wheel 2016 6 4 18:53 ..
drwxr-xr-x 4 root admin 128 3 13 11:53 PrivateFram...
MBA2013:Users ujpadmin$
ここに,CommandLineToolsのリンクを作成する.
MBA2013:Users ujpadmin$ sudo ln -s /Applications/Xcode.a...
MBA2013:Users ujpadmin$
リンクが作成されたか確認する.
MBA2013:Users ujpadmin$ ls -la /Library/Developer🆑
total 0
drwxr-xr-x 4 root admin 128 6 6 11:49 .
drwxr-xr-x+ 63 root wheel 2016 6 4 18:53 ..
lrwxr-xr-x 1 root admin 42 6 6 11:49 CommandLine...
drwxr-xr-x 4 root admin 128 3 13 11:53 PrivateFram...
MBA2013:Users ujpadmin$
これで,再度インストールを行う.
**HomeBrewをインストールする()
MBA2013:Users ujpadmin$ /usr/bin/ruby -e "$(curl -fsSL h...
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN to continue or any other key to abort🆑
==> Downloading and installing Homebrew...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 124174 (delta 18), reused 45 (delta 17), p...
Receiving objects: 100% (124174/124174), 29.34 MiB | 1.1...
Resolving deltas: 100% (90987/90987), done.
From https://github.com/Homebrew/brew
* [new branch] master -> origin/master
* [new tag] 0.1 -> 0.1
* [new tag] 0.2 -> 0.2
* [new tag] 0.3 -> 0.3
* [new tag] 0.4 -> 0.4
* [new tag] 0.5 -> 0.5
* [new tag] 0.6 -> 0.6
* [new tag] 0.7 -> 0.7
* [new tag] 0.7.1 -> 0.7.1
* [new tag] 0.8 -> 0.8
* [new tag] 0.8.1 -> 0.8.1
* [new tag] 0.9 -> 0.9
〜略〜
* [new tag] 2.1.3 -> 2.1.3
* [new tag] 2.1.4 -> 2.1.4
HEAD is now at 80230eccf Merge pull request #6210 from l...
==> Homebrew is run entirely by unpaid volunteers. Pleas...
https://github.com/Homebrew/brew#donations
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/...
remote: Enumerating objects: 5001, done.
remote: Counting objects: 100% (5001/5001), done.
remote: Compressing objects: 100% (4792/4792), done.
remote: Total 5001 (delta 51), reused 796 (delta 16), pa...
Receiving objects: 100% (5001/5001), 4.01 MiB | 1.08 MiB...
Resolving deltas: 100% (51/51), done.
Checking out files: 100% (5018/5018), done.
Tapped 2 commands and 4787 formulae (5,043 files, 12.5MB).
Already up-to-date.
==> Installation successful!🆑
==> Homebrew has enabled anonymous aggregate formulae an...
Read the analytics documentation (and how to opt-out) he...
https://docs.brew.sh/Analytics
==> Homebrew is run entirely by unpaid volunteers. Pleas...
https://github.com/Homebrew/brew#donations
==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
MBA2013:Users ujpadmin$
**インストール後の確認処理
brew doctorコマンドで,インストールに問題なかったか確認.
MBA2013:Users ujpadmin$ brew doctor🆑
Your system is ready to brew.
MBA2013:Users ujpadmin$
問題ない模様.
MBA2013:Users ujpadmin$ brew --config🆑
HOMEBREW_VERSION: 2.1.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: d5a90f6f4af0a8e3d0ff1d806fb65e1b3bdbbe42
Last commit: 10 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c58dce188e274656041f0dd72aca59a8a968248d
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby....
Clang: 10.0 build 1001
Git: 2.20.1 => /Applications/Xcode.app/Contents/Develope...
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.4-x86_64
CLT: N/A
Xcode: 10.2.1
MBA2013:Users ujpadmin$
問題ないかどうかは,わからんな.
ページ名:
Counter: 0, today: 0, yesterday: 0
広告スペース
検索用語を入力
検索フォームを送信
Web
www.ujp.jp