ariandanim

ariandanim

Difference between Elixir and Elixir-Dev in FreeBSD

I read that installing Elixir in Freebsd 14 has 2 distinct such as :

  • Run: pkg install elixir or pkg install elixir-devel

What the different both of them?

Most Liked

dch

dch

FreeBSD’s not linux, I 100% use the 2 main elixir flavours for production usage. They are very up to date, if anybody needs an older version, we can organise that. Just open a ticket at bugs.freebsd.org and I’ll get to it.

The main difference now is:

  • lang/elixir tracks stable elixir (1.16.x release), uses an older erlang release (lang/erlang which is OTP25.x presently)
  • lang/elixir-devel tracks latest elixir (1.17.x releases atm), and uses the latest OTP release lang/erlang-runtime27 available thats compatible)

There are 2 distinct package repositories available on FreeBSD. The default quarterly is taken from the faster-moving latest every quarter, and gets security fixes only backported to it.

the latest one is YOLO arch-style, updated very frequently, in line with OTP & Elixir updates. That said, we use it in production and I’ve not had any issues in years. It depends on your appetite for stability vs up-to-date-ness.

asdf should be available soon on FreeBSD, there’s patches for it ready atm, or you can use sysutils/mise which is already present. RIIR its nice and fast.

krasenyp

krasenyp

The binary packages come from the ports tree and usually the *-devel packages are more up-to-date with dependencies. The easiest way to check what’s the difference between elixir and elixir-devel is to check the port dependencies and/or applied patches. After a quick glance, it looks like elixir depends on Erlang 25 and elixir-devel on Erlang 27.

You can use the tools that FreeBSD provides to inspect information about installed or not installed packages, pkg info and pkg rquery respectively.

sbuttgereit

sbuttgereit

It also looked like elixir was on the 1.16.3 version and elixir-devel was 1.17.2, too.

Where Next?

Popular in Discussions Top

joeerl
I’m playing with Elixir - It’s fun. I think @rvirding does give Elixir courses these days. Re: files and database - when I given Erlang ...
New
pillaiindu
In django there is a cache framework backed by memcached. Rails also puts a lot of emphasis on caching, and even the idea of russian-doll...
New
PragTob
Hello everyone, I know we had quite some threads (read through lots of them) about background job processing but it remains a hotly deba...
New
eteeselink
Hi all, In the last days, two things happened: A blog post titled “They might never tell you it’s broken” made the rounds. It’s about ...
New
owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
New
pillaiindu
I want to convert a Phoenix LiveView CRUD website to a CRUD mobile app. What do you think is the easiest way to do so?
New
matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
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
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
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
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42576 114
New

We're in Beta

About us Mission Statement