LoginSignup
1
1

More than 5 years have passed since last update.

gnu-prologをbrewでインストールした

Last updated at Posted at 2016-06-10

大学の授業でPrologで推論を行ってみました.

今度はそのインストール編です.

ウェブページからパーケッジをダウロードするURLは
http://www.gprolog.org/
です.

ですが,そっちでダウロードすると,gprologのコマンド画面をいちいち開かないといかない...です.

macのターミナルで普通に使いたいから,brewで再インストールすることにしました.

とても簡単です.

まずbrewをアプデートする(もちろんhomebrewがインストールされたことは前提条件だよん)
$brew update

そして,gnu-prologのインストールです.
$brew install gnu-prolog
==> Downloading
https://homebrew.bintray.com/bottles/gnu-prolog-1.4.4.el_capitan

######################################################################## 100.0%
==> Pouring gnu-prolog
1.4.4.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/gnu-prolog/1.4.4: 190 files, 12.2M

これで完成です!!簡単でしょう!

ちなみに
$gprolog
で打つと実行が始まります!

halt
で終了
楽しんでください

引き続きはこちら:
http://qiita.com/liupeijie/items/a85ec3cd922c93057a71

1
1
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
1
1