LoginSignup
0
0

More than 5 years have passed since last update.

Ubuntu14.10にOCamlをインストールする

Last updated at Posted at 2015-08-11

したいこと

Ubuntu14.10にOCamlをインストールする

手順

インストール確認

$ apt-cache search opam
opam - package manager for OCaml
opam-docs - package manager for OCaml (documentation)

インストール

$ sudo apt-get install opam

実行してみる

$ ocaml
        OCaml version 4.01.0

# "あ";;
- : string = "\227\129\130"
# 

日本語対応

$ vim .ocamlinit
$ cat .ocamlinit
let printer ppf = Format.fprintf ppf "\"%s\"";;
#install_printer printer

実行してみる

$ ocaml
        OCaml version 4.01.0

# "あ";;
- : string = "あ"
# 

これで準備はOK

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