Life is fun and easy!
不正IP報告数
Okan Sensor
ページへ戻る
印刷
HomeBrew/install/MacOSX10.11.4ElCapitan
をテンプレートにして作成 ::
UJP
tech_regist2
:HomeBrew/install/MacOSX10.11.4ElCapitan をテンプレートにして作成
開始行:
*MacOS X 10.11.4 El Captitanにbrew環境を構築してみた
**はじめに
このドキュメントでは,パッケージ管理ツールのbrewを使っ...
なお,インストール先のマシンへは,SSHで接続してリモート...
**rubyのインストールを確認
gaia:~ ujpadmin$
gaia:~ ujpadmin$ file /usr/bin/ruby
/usr/bin/ruby: Mach-O universal binary with 2 architectu...
/usr/bin/ruby (for architecture x86_64): Mach-O 64-bit e...
/usr/bin/ruby (for architecture i386): Mach-O executable...
gaia:~ ujpadmin$
gaia:~ ujpadmin$
**brewのインストール
gaia:~ ujpadmin$ /usr/bin/ruby -e "$(curl -fsSL https://...
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/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
==> The following directories will be made group writable:
/usr/local/.
==> The following directories will have their owner set ...
/usr/local/.
==> The following directories will have their group set ...
/usr/local/.
Press RETURN to continue or any other key to abort
RETURNキーを押して継続.
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/.
WARNING: Improper use of the sudo command could lead to ...
or the deletion of important system files. Please double...
typing when using sudo. Type "man sudo" for more informa...
To proceed, enter your password, or type Ctrl-C to abort.
Password:
sudoしているので自分のパスワードを入力.ログインユーザ...
==> /usr/bin/sudo /usr/sbin/chown ujpadmin /usr/local/.
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/.
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homeb...
==> /usr/bin/sudo /usr/sbin/chown ujpadmin /Library/Cach...
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.Comm...
==> Installing Command Line Tools (OS X 10.11) for Xcode...
==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ L...
Software Update Tool
Copyright 2002-2015 Apple Inc.
Downloading Command Line Tools (OS X 10.11) for Xcode
**Xcode 7.3用のコマンドラインツールのインストール
Xcodeがインストールされてない状態でも,コマンドラインだ...
Downloaded Command Line Tools (OS X 10.11) for Xcode
Installing Command Line Tools (OS X 10.11) for Xcode
Done with Command Line Tools (OS X 10.11) for Xcode
Done.
==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandL...
==> Downloading and installing Homebrew...
remote: Counting objects: 462, done.
remote: Compressing objects: 100% (419/419), done.
remote: Total 462 (delta 26), reused 265 (delta 17), pac...
Receiving objects: 100% (462/462), 744.58 KiB | 38.00 Ki...
Resolving deltas: 100% (26/26), done.
From https://github.com/Homebrew/brew
* [new branch] master -> origin/master
HEAD is now at b53f0c5 tests: expand help and help-relat...
==> Tapping homebrew/core
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-...
remote: Counting objects: 3668, done.
remote: Compressing objects: 100% (3553/3553), done.
remote: Total 3668 (delta 16), reused 453 (delta 3), pac...
Receiving objects: 100% (3668/3668), 2.80 MiB | 35.00 Ki...
Resolving deltas: 100% (16/16), done.
Checking connectivity... done.
Tapped 3543 formulae (3,694 files, 8.7M)
==> Installation successful!
==> Next steps
Run `brew help` to get started
Further documentation: https://git.io/brew-docs
Anonymous aggregate user behaviour analytics documentati...
gaia:~ ujpadmin$
インストール完了.
**brewインストール後の確認
***brew doctorで環境が正常か確認する
gaia:~ ujpadmin$ brew doctor
Your system is ready to brew.
gaia:~ ujpadmin$
問題無い.
**brew --config
gaia:~ ujpadmin$ brew --config
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: b53f0c5ada753d5ded6f6fbe4f920a4a43696394
Last commit: 4 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: fd8a8a08001ff1d47fb696dc2c78803cc7ac4feb
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit sandybridge
OS X: 10.11.4-x86_64
Xcode: N/A
CLT: 7.3.0.0.1.1457485338
Clang: 7.3 build 703
X11: N/A
System Ruby: 2.0.0-p648
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.f...
Java: N/A
gaia:~ ujpadmin$
2日前の最新.
***現在インストールされているパッケージを確認
gaia:~ ujpadmin$ brew list
gaia:~ ujpadmin$
***brewパッケージリストのアップデート
gaia:~ ujpadmin$ brew update
Already up-to-date.
gaia:~ ujpadmin$
**treeコマンドのインストール
gaia:~ ujpadmin$ brew install tree
==> Downloading https://homebrew.bintray.com/bottles/tre...
########################################################...
==> Pouring tree-1.7.0.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/tree/1.7.0: 7 files, 113.1K
gaia:~ ujpadmin$
**wgetコマンドのインストール
gaia:~ ujpadmin$ brew install wget
==> Installing dependencies for wget: openssl
==> Installing wget dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/ope...
########################################################...
==> Pouring openssl-1.0.2g.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from ...
keychain. To add additional certificates, place .pem fil...
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlink...
Apple has deprecated use of OpenSSL in favor of its own ...
Generally there are no consequences of this for you. If ...
own software and it requires this formula, you'll need t...
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.2g: 1,678 files, 12.0M
==> Installing wget
==> Downloading https://homebrew.bintray.com/bottles/wge...
########################################################...
==> Pouring wget-1.17.1.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/wget/1.17.1: 9 files, 1.5M
gaia:~ ujpadmin$
***listを確認
gaia:~ ujpadmin$ brew list
openssl tree wget
gaia:~ ujpadmin$
**caskをインストール
gaia:~ ujpadmin$ brew install cask
==> Installing dependencies for cask: emacs
==> Installing cask dependency: emacs
==> Downloading https://homebrew.bintray.com/bottles/ema...
########################################################...
==> Pouring emacs-24.5.el_capitan.bottle.2.tar.gz
==> Caveats
To have launchd start emacs at login:
ln -sfv /usr/local/opt/emacs/*.plist ~/Library/LaunchA...
Then to load emacs now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.em...
Or, if you don't want/need launchctl, you can just run:
emacs start
==> Summary
🍺 /usr/local/Cellar/emacs/24.5: 3,916 files, 99.6M
==> Installing cask
==> Downloading https://github.com/cask/cask/archive/v0....
==> Downloading from https://codeload.github.com/cask/ca...
########################################################...
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/cask
==> Summary
🍺 /usr/local/Cellar/cask/0.7.4: 13 files, 162.8K, built...
gaia:~ ujpadmin$
***caskでvirtualboxをインストール
gaia:~ ujpadmin$ brew cask install virtualbox
==> Tapping caskroom/cask
Cloning into '/usr/local/Library/Taps/caskroom/homebrew-...
remote: Counting objects: 3584, done.
remote: Compressing objects: 100% (3527/3527), done.
remote: Total 3584 (delta 57), reused 778 (delta 35), pa...
Receiving objects: 100% (3584/3584), 5.94 MiB | 57.00 Ki...
Resolving deltas: 100% (57/57), done.
Checking connectivity... done.
Checking out files: 100% (3529/3529), done.
Tapped 1 formula (3,552 files, 13.6M)
==> We need to make Caskroom for the first time at /opt/...
==> We'll set permissions properly so we won't need sudo...
Password:
==> Downloading http://download.virtualbox.org/virtualbo...
########################################################...
==> Verifying checksum for Cask virtualbox
==> Running installer for virtualbox; your password may ...
==> Package installers may write to any location; option...
==> installer: Package name is Oracle VM VirtualBox
==> installer: Installing at base path /
==> installer: The install was successful.
🍺 virtualbox staged at '/opt/homebrew-cask/Caskroom/vir...
gaia:~ ujpadmin$
***caskでvirtualbox-extension-packをインストール
gaia:~ ujpadmin$ brew cask install virtualbox-extension...
==> Satisfying dependencies
==> Installing Cask dependencies: virtualbox
virtualbox ...
already installed
complete
==> Downloading http://download.virtualbox.org/virtualbo...
########################################################...
==> Verifying checksum for Cask virtualbox-extension-pack
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Successfully installed "Oracle VM VirtualBox Extension P...
🍺 virtualbox-extension-pack staged at '/opt/homebrew-ca...
gaia:~ ujpadmin$
終了行:
*MacOS X 10.11.4 El Captitanにbrew環境を構築してみた
**はじめに
このドキュメントでは,パッケージ管理ツールのbrewを使っ...
なお,インストール先のマシンへは,SSHで接続してリモート...
**rubyのインストールを確認
gaia:~ ujpadmin$
gaia:~ ujpadmin$ file /usr/bin/ruby
/usr/bin/ruby: Mach-O universal binary with 2 architectu...
/usr/bin/ruby (for architecture x86_64): Mach-O 64-bit e...
/usr/bin/ruby (for architecture i386): Mach-O executable...
gaia:~ ujpadmin$
gaia:~ ujpadmin$
**brewのインストール
gaia:~ ujpadmin$ /usr/bin/ruby -e "$(curl -fsSL https://...
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/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
==> The following directories will be made group writable:
/usr/local/.
==> The following directories will have their owner set ...
/usr/local/.
==> The following directories will have their group set ...
/usr/local/.
Press RETURN to continue or any other key to abort
RETURNキーを押して継続.
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/.
WARNING: Improper use of the sudo command could lead to ...
or the deletion of important system files. Please double...
typing when using sudo. Type "man sudo" for more informa...
To proceed, enter your password, or type Ctrl-C to abort.
Password:
sudoしているので自分のパスワードを入力.ログインユーザ...
==> /usr/bin/sudo /usr/sbin/chown ujpadmin /usr/local/.
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/.
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homeb...
==> /usr/bin/sudo /usr/sbin/chown ujpadmin /Library/Cach...
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.Comm...
==> Installing Command Line Tools (OS X 10.11) for Xcode...
==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ L...
Software Update Tool
Copyright 2002-2015 Apple Inc.
Downloading Command Line Tools (OS X 10.11) for Xcode
**Xcode 7.3用のコマンドラインツールのインストール
Xcodeがインストールされてない状態でも,コマンドラインだ...
Downloaded Command Line Tools (OS X 10.11) for Xcode
Installing Command Line Tools (OS X 10.11) for Xcode
Done with Command Line Tools (OS X 10.11) for Xcode
Done.
==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandL...
==> Downloading and installing Homebrew...
remote: Counting objects: 462, done.
remote: Compressing objects: 100% (419/419), done.
remote: Total 462 (delta 26), reused 265 (delta 17), pac...
Receiving objects: 100% (462/462), 744.58 KiB | 38.00 Ki...
Resolving deltas: 100% (26/26), done.
From https://github.com/Homebrew/brew
* [new branch] master -> origin/master
HEAD is now at b53f0c5 tests: expand help and help-relat...
==> Tapping homebrew/core
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-...
remote: Counting objects: 3668, done.
remote: Compressing objects: 100% (3553/3553), done.
remote: Total 3668 (delta 16), reused 453 (delta 3), pac...
Receiving objects: 100% (3668/3668), 2.80 MiB | 35.00 Ki...
Resolving deltas: 100% (16/16), done.
Checking connectivity... done.
Tapped 3543 formulae (3,694 files, 8.7M)
==> Installation successful!
==> Next steps
Run `brew help` to get started
Further documentation: https://git.io/brew-docs
Anonymous aggregate user behaviour analytics documentati...
gaia:~ ujpadmin$
インストール完了.
**brewインストール後の確認
***brew doctorで環境が正常か確認する
gaia:~ ujpadmin$ brew doctor
Your system is ready to brew.
gaia:~ ujpadmin$
問題無い.
**brew --config
gaia:~ ujpadmin$ brew --config
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: b53f0c5ada753d5ded6f6fbe4f920a4a43696394
Last commit: 4 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: fd8a8a08001ff1d47fb696dc2c78803cc7ac4feb
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit sandybridge
OS X: 10.11.4-x86_64
Xcode: N/A
CLT: 7.3.0.0.1.1457485338
Clang: 7.3 build 703
X11: N/A
System Ruby: 2.0.0-p648
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.f...
Java: N/A
gaia:~ ujpadmin$
2日前の最新.
***現在インストールされているパッケージを確認
gaia:~ ujpadmin$ brew list
gaia:~ ujpadmin$
***brewパッケージリストのアップデート
gaia:~ ujpadmin$ brew update
Already up-to-date.
gaia:~ ujpadmin$
**treeコマンドのインストール
gaia:~ ujpadmin$ brew install tree
==> Downloading https://homebrew.bintray.com/bottles/tre...
########################################################...
==> Pouring tree-1.7.0.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/tree/1.7.0: 7 files, 113.1K
gaia:~ ujpadmin$
**wgetコマンドのインストール
gaia:~ ujpadmin$ brew install wget
==> Installing dependencies for wget: openssl
==> Installing wget dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/ope...
########################################################...
==> Pouring openssl-1.0.2g.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from ...
keychain. To add additional certificates, place .pem fil...
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlink...
Apple has deprecated use of OpenSSL in favor of its own ...
Generally there are no consequences of this for you. If ...
own software and it requires this formula, you'll need t...
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.2g: 1,678 files, 12.0M
==> Installing wget
==> Downloading https://homebrew.bintray.com/bottles/wge...
########################################################...
==> Pouring wget-1.17.1.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/wget/1.17.1: 9 files, 1.5M
gaia:~ ujpadmin$
***listを確認
gaia:~ ujpadmin$ brew list
openssl tree wget
gaia:~ ujpadmin$
**caskをインストール
gaia:~ ujpadmin$ brew install cask
==> Installing dependencies for cask: emacs
==> Installing cask dependency: emacs
==> Downloading https://homebrew.bintray.com/bottles/ema...
########################################################...
==> Pouring emacs-24.5.el_capitan.bottle.2.tar.gz
==> Caveats
To have launchd start emacs at login:
ln -sfv /usr/local/opt/emacs/*.plist ~/Library/LaunchA...
Then to load emacs now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.em...
Or, if you don't want/need launchctl, you can just run:
emacs start
==> Summary
🍺 /usr/local/Cellar/emacs/24.5: 3,916 files, 99.6M
==> Installing cask
==> Downloading https://github.com/cask/cask/archive/v0....
==> Downloading from https://codeload.github.com/cask/ca...
########################################################...
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/cask
==> Summary
🍺 /usr/local/Cellar/cask/0.7.4: 13 files, 162.8K, built...
gaia:~ ujpadmin$
***caskでvirtualboxをインストール
gaia:~ ujpadmin$ brew cask install virtualbox
==> Tapping caskroom/cask
Cloning into '/usr/local/Library/Taps/caskroom/homebrew-...
remote: Counting objects: 3584, done.
remote: Compressing objects: 100% (3527/3527), done.
remote: Total 3584 (delta 57), reused 778 (delta 35), pa...
Receiving objects: 100% (3584/3584), 5.94 MiB | 57.00 Ki...
Resolving deltas: 100% (57/57), done.
Checking connectivity... done.
Checking out files: 100% (3529/3529), done.
Tapped 1 formula (3,552 files, 13.6M)
==> We need to make Caskroom for the first time at /opt/...
==> We'll set permissions properly so we won't need sudo...
Password:
==> Downloading http://download.virtualbox.org/virtualbo...
########################################################...
==> Verifying checksum for Cask virtualbox
==> Running installer for virtualbox; your password may ...
==> Package installers may write to any location; option...
==> installer: Package name is Oracle VM VirtualBox
==> installer: Installing at base path /
==> installer: The install was successful.
🍺 virtualbox staged at '/opt/homebrew-cask/Caskroom/vir...
gaia:~ ujpadmin$
***caskでvirtualbox-extension-packをインストール
gaia:~ ujpadmin$ brew cask install virtualbox-extension...
==> Satisfying dependencies
==> Installing Cask dependencies: virtualbox
virtualbox ...
already installed
complete
==> Downloading http://download.virtualbox.org/virtualbo...
########################################################...
==> Verifying checksum for Cask virtualbox-extension-pack
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Successfully installed "Oracle VM VirtualBox Extension P...
🍺 virtualbox-extension-pack staged at '/opt/homebrew-ca...
gaia:~ ujpadmin$
ページ名: