インストール

On OpenBSD

OpenBSD includes the Crystal compiler in the ports tree, starting from version OpenBSD 6.4.

Currently, it is only available for the amd64 platform.

パッケージのインストール

Crystal はコンパイル済みのパッケージとして有効です。ですが、それは一番最近のバージョンではないかもしれません。The package also includes shards.

doas pkg_add crystal

port によるインストール

Crystal を自身でビルドする場合は、ports ツリーによるインストールが有効です。

If the ports collection is not already installed, instructions to installing it can be found in the OpenBSD Ports guide.

cd /usr/ports/lang/crystal
doas make clean install

To avoid building dependencies from source (which can take a long time), you can first install them from binary packages:

doas pkg_add llvm libiconv boehm-gc libevent2 pcre libyaml

インストールできましたか?

学ぶ

何か問題が発生しましたか?

フォーラムでのサポート