Mac全般

Rictyのインストール

事前準備

$ brew install automake
$ brew install pkg-config
$ brew install autoconf

brew-caskもインストール(トラブルシュートあり)

$ brew install caskroom/cask/brew-cask
==> Installing brew-cask from caskroom/homebrew-cask
==> Cloning https://github.com/caskroom/homebrew-cask.git
Updating /Library/Caches/Homebrew/brew-cask--git
==> Checking out tag v0.53.3
Error: parent directory is world writable but not sticky
Please report this bug:
    https://git.io/brew-troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tmpdir.rb:92:in `mktmpdir'
/usr/local/Library/Homebrew/utils/fork.rb:6:in `safe_fork'
/usr/local/Library/Homebrew/formula_installer.rb:481:in `build'
/usr/local/Library/Homebrew/formula_installer.rb:184:in `install'
/usr/local/Library/Homebrew/cmd/install.rb:165:in `install_formula'
/usr/local/Library/Homebrew/cmd/install.rb:83:in `block in install'
/usr/local/Library/Homebrew/cmd/install.rb:83:in `each'
/usr/local/Library/Homebrew/cmd/install.rb:83:in `install'
/usr/local/Library/brew.rb:140:in `<main>'

$ cd ~/
$ ls -l
lrwxr-xr-x@  1 root  wheel    11  2 22 17:56 tmp -> private/tmp
$ sudo chmod +t tmp/
$ cd tmp/
$ brew install caskroom/cask/brew-cask
==> Installing brew-cask from caskroom/homebrew-cask
==> Cloning https://github.com/caskroom/homebrew-cask.git
Updating /Library/Caches/Homebrew/brew-cask--git
==> Checking out tag v0.53.3
🍺  /usr/local/Cellar/brew-cask/0.53.3: 2421 files, 9.5M, built in 2 seconds

xquartzのインストール

$ brew install Caskroom/cask/xquartz
==> brew cask install Caskroom/cask/xquartz
==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
Password:
==> Downloading https://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.7.dmg
######################################################################## 100.0%
==> Running installer for xquartz; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.

==> installer: Package name is XQuartz 2.7.7
==> installer: Installing at base path /
==> installer: The install was successful.
🍺  xquartz staged at '/opt/homebrew-cask/Caskroom/xquartz/2.7.7' (64M)

Rictyのインストール

$ brew install ricty

※rictyが見つからないと表示された場合は、こちらのリンクを参照する。

$ cp -f /usr/local/Cellar/ricty/3.2.4/share/fonts/Ricty*.ttf ~/Library/Fonts/
$ fc-cache -vf
/usr/share/fonts: skipping, no such directory
/System/Library/Fonts: caching, new cache contents: 156 fonts, 0 dirs
/Library/Fonts: caching, new cache contents: 422 fonts, 0 dirs
/Users/kazuma/Library/Fonts: caching, new cache contents: 4 fonts, 0 dirs
/Users/kazuma/.local/share/fonts: skipping, no such directory
/Users/kazuma/.fonts: skipping, no such directory
/usr/local/var/cache/fontconfig: cleaning cache directory
/Users/kazuma/.cache/fontconfig: not cleaning non-existent cache directory
/Users/kazuma/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded


ここまできたらターミナルでRictyが選択可能です。

トラブルシュート:Rictyが見つからない場合。

対処

  • brewのリポジトリを追加する
  • リポジトリの追加には"tap"を使用する

手順

$ brew tap sanemat/font
$ brew search ricty

参考URL

http://www.task-notes.com/entry/20150124/1422091466


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-06-30 (木) 01:40:11