Crystal for Ubuntu- Install on Linux Ubuntu 18.04 LTS/ 19.10

How to Install Crystal Language on Linux Ubuntu, Fedora, Arch, OpenSUSE, and more

Crystal for Ubuntu


rystal for Ubuntu: Looking for Crystal Language on your Linux? This article will guide you through the methods involved in the process of installing Crystal Language on Linux Ubuntu 18.04 LTS(Bionic Beaver), Ubuntu 19.10(Eoan Ermine), Debian, Kubuntu, Linux Mint, Fedora, Arch, CentOS, OpenSUSE, and more. Crystal Language is a programming language based on OOP with Syntaxes inspired by Ruby. The Type safety of a program created by Crystal is of Static Type Checking. It is available for Linux, FreeBSD, macOS, and OpenBSD.

Jump to:

Install Crystal on Ubuntu 18.04 LTS/ 19.10 & other Ubuntu-based Distros- Using Snap:

Note: Snap is pre-installed on Ubuntu 16.04 and higher versions, however, it can be installed using sudo snap install snapd.

Crystal can be installed on Linux Ubuntu 18.04 LTS/ 19.10/ 19.04(Disco Dingo), and other Ubuntu-based distros such as Linux Mint, Kubuntu, UbuntuMate, and also on Debian using Snappy package manager.

  • Open Terminal using the shortcut CTRL + ALT + T.
  • Paste and execute the following command on the terminal to install Crystal on Ubuntu.
$sudo snap install crystal --classic
Install Crystal on Ubuntu
Install Crystal on Ubuntu
  • Kindly enter your system password when prompted to authenticate the installation process. Once installed, then you can start using it via terminal.

Adding Crystal Libraries after installing it:

General Syntax
crystal [command] [switches] [program file] [--] [arguments]
$sudo apt-get install gcc pkg-config git tzdata
$sudo apt-get install libpcre3-dev libevent-dev libyaml-dev
$sudo apt-get install libgmp-dev libssl-dev libxml2-dev

Getting Help menu from Crystal:

Crystal Help Menu
Crystal Help Menu
$crystal -h

How to Remove/Uninstall Crystal from Linux Ubuntu:

Execute the following command to remove Crystal from Linux Ubuntu.

$sudo snap remove crystal

Application Details:

LicenseFree to Use
App Versionv0.31.1[Stable]
App Size
Check this too  Gnome Calendar for Ubuntu- Install on Linux Ubuntu 18.04 LTS/ 19.04

How to Install Crystal Language on Fedora, Arch, OpenSUSE, CentOS, and more:

Missing Snap Package Manager?
Missing Snap? Install Snap on Fedora, Arch, OpenSUSE, and CentOS using the following link. Snap for various Linux Distros

Crystal for Fedora:

$sudo snap install crystal --classic

Install Crystal on Arch Linux:

$sudo snap install crystal --classic

Crystall Application for OpenSUSE:

$sudo snap install crystal --classic

Crystal for CentOS:

$sudo snap install crystal --classic
Note: The app installation command remains same for the above distros. If you are missing snap, then the Snap installation commands varies for these distros. Hence you can use Snap for various Linux Distros to install Snap.

Get in Touch with us:

The above article provides detailed information on Crystal Programming Languges and provide the steps for installing Crystal on Linux Ubuntu 18.04 LTS/19.04/19.10, other Ubuntu-based distros, Debian, Fedora, Arch, CentOS, and OpenSUSE. If you have any Query with the above article, Kindly Comment on the comment section and we will revert to you with a solution ASAP. For instant solutions, kindly visit our Forum!!

Leave a Reply

Your email address will not be published. Required fields are marked *

Written by Rachel

I'm Rachel, From Arizona. I am playing the "Content Management" Role in Tec Robust. I started working in TR from Jan 2019. Big Marvel Fan.

Contact me:
tecrobust [@]
Sub: Message to Rachel

Contribute Us!

Simple Note on Ubuntu

Install Simple Note on Ubuntu 18.04 & 19.10 from Snap Store!

Upgrade from Ubuntu 19.04 to 19.10

How to Upgrade to Ubuntu 19.10 from Ubuntu 19.04 Easily!