Install

On OpenSUSE

On OpenSUSE, Crystal can be installed from the official rpm package using Zypper. Snapcraft is also available.

Setup repository

First add the signing key:

rpm --import https://dist.crystal-lang.org/rpm/RPM-GPG-KEY

Next configure the repository in Zypper:

sudo zypper ar -e -f -t rpm-md https://dist.crystal-lang.org/rpm/ Crystal

Install

Once the repository is configured, Crystal can be installed:

sudo zypper install crystal

Upgrade

When a new Crystal version is released you can upgrade Crystal using:

sudo zypper update crystal

Snapcraft

The Crystal snap requires to be run in classic confinement. If you have snapd installed you’re ready to install Crystal:

sudo snap install crystal --classic

You can also install the latest nightly build by using the edge channel.

sudo snap install crystal --classic --edge

Find further information at Crystal’s snapcraft page


Done installing?

Learn

Found any issues?

Forum support.