From 2c440513182e915bcd32ec0b88bb06d318517639 Mon Sep 17 00:00:00 2001 From: Tommy Miland Date: Sun, 3 Feb 2019 12:57:01 +0100 Subject: [PATCH] Update README.md Add manual commands to Debian and Ubuntu install instructions. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index db4120da..8be021c9 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,12 @@ $ docker-compose build $ sudo pacman -S shards crystal imagemagick librsvg postgresql # Ubuntu or Debian +# First you have to add the repository to your APT configuration. For easy setup just run in your command line: $ curl -sSL https://dist.crystal-lang.org/apt/setup.sh | sudo bash -$ sudo apt update +# That will add the signing key and the repository configuration. If you prefer to do it manually, execute the following commands: +$ curl -sL "https://keybase.io/crystal/pgp_keys.asc" | sudo apt-key add - +$ echo "deb https://dist.crystal-lang.org/apt crystal main" | sudo tee /etc/apt/sources.list.d/crystal.list +$ sudo apt-get update $ sudo apt install crystal libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev librsvg2-dev postgresql imagemagick libsqlite3-dev ```