For projects, I want to make my base Elixir v 1.13 or higher image with pre-installed utilities based on Ubuntu 22.04. The Ubuntu repositories have Elixir v1.12.
Therefore, I want to install Elixir according to the instructions, the link Erlang and Elixir Packages Download - Erlang Solutions (erlang-solutions.com) can find instructions for installing Elixir on ubuntu . But she doesn’t work.
- Now they suggest installing erlang at step 2, and this is where the instruction ends.
- Most importantly: the link to the repository specified in step 1 does not work
http://binaries2.erlang-solutions.com/ubuntu/
It only starts working when we add a “#” sign before “ubuntu”
http://binaries2.erlang-solutions.com/#ubuntu/
But in this form, it does not work all the more. Because the “#” sign in the configuration file is taken as the start of a comment.
@ErlangSolutions can you fix this?
Or am I doing something wrong?
Unfortunately I can’t attach pictures.
Below is the instruction from the website Erlang and Elixir Packages Download - Erlang Solutions
To add Erlang Solutions repository (including our public key for apt-secure) to your system, call the following commands:
adding the repository entry manually
Add one of the following lines to your /etc/apt/sources.list (according to your distribution):
deb http://binaries2.erlang-solutions.com/ubuntu/ jammy-esl-erlang-25 contrib deb http://binaries2.erlang-solutions.com/debian/ bullseye-elixir-1.15 contrib deb http://binaries2.erlang-solutions.com/ubuntu/ bionic-mongooseim-6 contrib
To verify which distribution you are running, run “lsb_release -c” in console.
Next, add the Erlang Solutions public key for “apt-secure” using following commands:
wget https://binaries2.erlang-solutions.com/GPG-KEY-pmanager.asc sudo apt-key add GPG-KEY-pmanager.asc
2. Installing Erlang
Refresh the repository cache and install either the “erlang” package:
sudo apt-get update sudo apt-get install erlang
or the “esl-erlang” package:
sudo apt-get update sudo apt-get install esl-erlang