Skip to content

Commit

Permalink
Update Ubuntu/Debian install instructions (#1637)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Odaeus authored Sep 20, 2022
1 parent 478ed1a commit b0ec6d5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions install.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit b0ec6d5

Please sign in to comment.