4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MacTeX がインストールする ghostscript 関係ファイル一覧を確認

Last updated at Posted at 2018-04-29

こんにちは。
MacTeX (のパッケージファイル)がインストールする ghostscript 関係ファイルの一覧を表示しました1

mactex_ghostscript.sh
#!/bin/sh
pkg=/usr/local/Caskroom/mactex/20170524/mactex-20170524.pkg
[ -n "$1" ] && pkg="$1"
bom_usr_local=$(pkgutil --bom $pkg | fgrep local.pkg)
files=( $(lsbom -s -f $bom_usr_local | fgrep -v ghostscript | sed 's_^\._/usr/local_') )
for item in ${files[@]}; do
    echo $item
done
$ ./mactex_ghostscript.sh
/usr/local/bin/dvipdf
/usr/local/bin/eps2eps
/usr/local/bin/font2c
/usr/local/bin/gs-X11
/usr/local/bin/gs-noX11
/usr/local/bin/gsbj
/usr/local/bin/gsdj
/usr/local/bin/gsdj500
/usr/local/bin/gslj
/usr/local/bin/gslp
/usr/local/bin/gsnd
/usr/local/bin/lprsetup.sh
/usr/local/bin/pdf2dsc
/usr/local/bin/pdf2ps
/usr/local/bin/pf2afm
/usr/local/bin/pfbtopfa
/usr/local/bin/pphs
/usr/local/bin/printafm
/usr/local/bin/ps2ascii
/usr/local/bin/ps2epsi
/usr/local/bin/ps2pdf
/usr/local/bin/ps2pdf12
/usr/local/bin/ps2pdf13
/usr/local/bin/ps2pdf14
/usr/local/bin/ps2pdfwr
/usr/local/bin/ps2ps
/usr/local/bin/ps2ps2
/usr/local/bin/unix-lpr.sh
/usr/local/bin/wftopfa
/usr/local/share/man/de/man1/dvipdf.1
/usr/local/share/man/de/man1/font2c.1
/usr/local/share/man/de/man1/gsnd.1
/usr/local/share/man/de/man1/pdf2dsc.1
/usr/local/share/man/de/man1/pdf2ps.1
/usr/local/share/man/de/man1/printafm.1
/usr/local/share/man/de/man1/ps2ascii.1
/usr/local/share/man/de/man1/ps2pdf.1
/usr/local/share/man/de/man1/ps2ps.1
/usr/local/share/man/de/man1/wftopfa.1
/usr/local/share/man/man1/dvipdf.1
/usr/local/share/man/man1/font2c.1
/usr/local/share/man/man1/gs.1
/usr/local/share/man/man1/gslp.1
/usr/local/share/man/man1/gsnd.1
/usr/local/share/man/man1/pdf2dsc.1
/usr/local/share/man/man1/pdf2ps.1
/usr/local/share/man/man1/pf2afm.1
/usr/local/share/man/man1/pfbtopfa.1
/usr/local/share/man/man1/printafm.1
/usr/local/share/man/man1/ps2ascii.1
/usr/local/share/man/man1/ps2epsi.1
/usr/local/share/man/man1/ps2pdf.1
/usr/local/share/man/man1/ps2pdfwr.1
/usr/local/share/man/man1/ps2ps.1
/usr/local/share/man/man1/wftopfa.1
  1. 参考:"Uninstall Ghostscript that comes with MacTex" (GitHubGist)

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?