Vik

Vik

Error when checking elixir version

Hi Im installing Elixir in elementary os,

when I try to install erlang with
sudo apt-get install esl-erlang

The esl-erlang package is not available, but some other package references
to the. This may mean that the package is missing, outdated, or only
is available from some other source

E: The “esl-erlang” package does not have a candidate for installation

and if I try to install elixir and then check version, this happens

Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [kernel-poll:false]

{“init terminating in do_boot”,{{badmatch,error},[{‘Elixir.System’,build,0,[{file,“lib/system.ex”},{line,172}]},{‘Elixir.System’,build_info,0,[{file,“lib/system.ex”},{line,164}]},{‘Elixir.Kernel.CLI’,parse_shared,2,[{file,“lib/kernel/cli.ex”},{line,153}]},{‘Elixir.Kernel.CLI’,‘shared_option?’,3,[{file,“lib/kernel/cli.ex”},{line,113}]},{‘Elixir.Kernel.CLI’,main,1,[{file,“lib/kernel/cli.ex”},{line,14}]},{init,start_em,1,},{init,do_boot,3,}]}}
init terminating in do_boot ({{badmatch,error},[{Elixir.System,build,0,[{},{}]},{Elixir.System,build_info,0,[{},{}]},{Elixir.Kernel.CLI,parse_shared,2,[{},{}]},{Elixir.Kernel.CLI,shared_option?,

Can anybody help me , please?

Most Liked Responses

l00ker

l00ker

You’d be much better off using asdf to install both erlang & elixir. That way you can have multiple versions installed and switch between them etc.

Just be sure to check and install any required system packages. The requirements and instructions are listed on the repo of each plugin. Just follow the link to the repo in the plugins list.

Since Elementary OS seems to be using apt, it’s probably based on Debian, so you can most likely follow the instructions under Before asdf install for Ubuntu and Debian in the asdf-erlang repo.

NobbZ

NobbZ

You need to also activate the freshly installed elixir either in a project, in a shell or globally.

Please refer to the documentation of asdf local and asdf global for the most common use cases.

dimitarvp

dimitarvp

Yes, compiling Erlang from C sources can take a while. Don’t worry about it unless it’s still hung 6h later.

Where Next?

Popular in Questions Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
nobody
How to bind a phoenix app to a specific ip address? could not find anything about that, nowhere, unfortunately, but for me this is quite...
New
JulienCorb
I am trying to implement my new.html.eex file to create new posts on my website. new.html.eex: <h1>Create Post</h1> <%= ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Other popular topics Top

Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 42920 311
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New

We're in Beta

About us Mission Statement