From e10f508d107f0ed4f2f121be2b9a05a4c7238503 Mon Sep 17 00:00:00 2001 From: Andrew France Date: Tue, 20 Sep 2022 18:59:39 +0200 Subject: [PATCH] Update Ubuntu/Debian install instructions Unfortunately the Erlang Solutions package repository for Ubuntu and Debian packages has not been updated for recent Ubuntu releases or the latest LTS release. Simplify the instructions to use `apt-get` by default, while still providing an option for those on older releases to use the Erlang Solutions packages. Fixes #1575. --- install.markdown | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/install.markdown b/install.markdown index 92df033af..7f78e8cda 100644 --- a/install.markdown +++ b/install.markdown @@ -65,10 +65,14 @@ If your distribution contains an old Elixir/Erlang version, see the sections bel * Run: `eopkg install elixir` - **Ubuntu** or **Debian** - * Add Erlang Solutions repository: `wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb` - * Run: `sudo apt-get update` - * Install the Erlang/OTP platform and all of its applications: `sudo apt-get install esl-erlang` - * Install Elixir: `sudo apt-get install elixir` + * From primary package repositories: + * Run: `sudo apt-get install elixir` + + * From Erlang Solutions, for more recent Elixir/Erlang versions on Ubuntu LTS (< 22.04) or Debian Stable releases: + * Add Erlang Solutions repository: `wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb` + * Run: `sudo apt-get update` + * Install the Erlang/OTP platform and all of its applications: `sudo apt-get install esl-erlang` + * Install Elixir: `sudo apt-get install elixir` - **Void Linux** * Run: `xbps-install -S elixir`