Installing elixir on kubuntu fail

Hi everyone,

Problem:

Using the instructions here on the official channel doesn’t work to install erlang-solutions_2.0_all.deb in oh-my-zsh shell.

The installation works but the shell doesn’t recognize elixir -v

Tried:


curl -sLO https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb
sudo dpkg -i erlang-solutions_2.0_all.deb

also sudo apt install ./erlang-solutions_2.0_all.deb

Tried using also gui packager called discover to install the deb.

Does someone have a good solution for this except asdf?

Or should i go with asdf?

Thanks in advance

That does not yet install elixir, it just enables the erlang solution repositories in your system.

You need to apt update and apt install elixir after enabling the repository.

2 Likes

Can someone change the docs to reflect this? To tell the people that you also need to run
apt install elixir

Because other debs don’t need other commands to install something

Its already there (Installing Elixir - The Elixir programming language)

Ubuntu 14.04/16.04/17.04/18.04/19.04 or Debian 7/8/9

  • Add Erlang Solutions repo: 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
2 Likes