SanyS08

SanyS08

Broken installation of Elixir in Ubuntu from the erlang-solutions.com repositories

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.

  1. Now they suggest installing erlang at step 2, and this is where the instruction ends.
  2. 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

Where Next?

Popular in Questions Top

yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3268 119930 1237
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New

We're in Beta

About us Mission Statement