Created
February 7, 2019 01:36
-
-
Save phillipsj/d99826601bf1a8691e3a386f68aacc76 to your computer and use it in GitHub Desktop.
Bash script for adding Crystal Lang repos to bash and installing it and dependencies.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
curl -sL "https://keybase.io/crystal/pgp_keys.asc" | sudo apt-key add - | |
echo "deb [arch=amd64] https://dist.crystal-lang.org/apt crystal main" | sudo tee /etc/apt/sources.list.d/crystal.list | |
sudo apt-get update | |
sudo apt install libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev -y | |
sudo apt install crystal -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment