10.1 へのインストール記録はこちら
10.2 へのインストール記録はこちら
10.3 へのインストール記録はこちら
10.4 へのインストール記録はこちら
10.5 へのインストール記録はこちら
10.6 へのインストール記録はこちら
10.7 へのインストール記録はこちら
10.11 へのインストール記録はこちら
10.12 へのインストール記録はこちら
10.13 へのインストール記録はこちら
10.14 へのインストール記録はこちら
Apple M1 iMac の記録です。
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" sudo vi /etc/zprofile eval "$(/opt/homebrew/bin/brew shellenv)" を最後に追加 eval "$(/opt/homebrew/bin/brew shellenv)"
brew install nkf
brew tap railwaycat/emacsmacport brew install emacs-mac --with-modern-icon ln -s /opt/homebrew/opt/emacs-mac/Emacs.app /Applications
brew install gnupg
brew install --cask mactex eval "$(/usr/libexec/path_helper)" sudo tlmgr update --self --all sudo tlmgr paper a4
brew uninstall ghostscript --ignore-dependencies brew install libxaw3d brew edit ghostscript --without-x という 1 行を次の 4 行 --with-x --with-drivers=FILES,X11 --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib に差し替えて,その後 brew install --build-from-source ghostscript
brew tap johnhcc/gs-x11 brew edit gv depends_on "johnhcc/gs-x11/ghostscript-x11" を depends_on "ghostscript" に }/opt/ghostscript-x11/bin/gs" を }/opt/ghostscript/bin/gs" に書き換え, brew install gv
brew install tgifここからソースとパッチを取ってくる。
tar xzvf tgif-QPL-4.2.5.tar.gz cd tgif-QPL-4.2.5 gzcat ../tgif-QPL-4.2-patch5a.gz | patch -b -p0 gzcat ../tgif-QPL-4.2-patch5b.gz | patch -b -p0 ./configure vi wb.c # 26行目に #include <pthread.h> を挿入 make chmod +w /opt/homebrew/Cellar/tgif/4.2.5_1/bin/tgif cp tgif /opt/homebrew/Cellar/tgif/4.2.5_1/bin/tgif cd /opt/X11/share/X11/app-defaults sudo cp /opt/homebrew/Cellar/tgif/4.2.5_1/lib/X11/tgif/tgif.Xdefaults Tgif sudo vi Tgif # 382~401行,427行をコメントアウト
brew tap sanemat/font brew install ricty --without-visible-space cp /usr/local/opt/ricty/share/fonts/Ricty*.ttf /Library/Fonts/ fc-cache -vf
brew install poppler
brew install gnuplot
brew install pyenv brew install pyenv-virtualenv sudo mkdir /opt/pyenv sudo chown admin /opt/pyenv sudo chgrp admin /opt/pyenv sudo vi /etc/zprofile export PYENV_ROOT="/opt/pyenv" export PATH="${PYENV_ROOT}/shims:${PATH}" eval "$(pyenv init - --no-rehash)" を追加。 export PYENV_ROOT="/opt/pyenv" export PATH="${PYENV_ROOT}/shims:${PATH}" eval "$(pyenv init -)"
pip3 install tensorflow-macos とインストールしようとしたら,h5pyの途中で Building wheel for h5py (pyproject.toml) did not run successfully. というエラーがでたが, こちらによると,hdf5@1.8 をいれれば良いらしい。
brew install hdf5@1.8 pyenv install 3.9.10 pyenv virtualenv 3.9.10 tensorflow pyenv global tensorflow HDF5_DIR=/opt/homebrew/Cellar/hdf5@1.8/1.8.22_2 pip3 install h5py pip3 install tensorflow-macos
この時点で,こちらの追記の方のサンプルプログラムは,約 3739 s
pip3 install tensorflow-metal
ウォーニングが出るけど,同じサンプルプログラムが,約 1074 s