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

PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
New
AstonJ
Are there any Elixir or Erlang libraries that help with this? I’ve been thinking how streaming services like twitch have exploded recentl...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31695 143
New
Crowdhailer
I’ve been hearing much about the new formatter and it’s something I have been keen to try. I find examples buy far the most illuminating...
248 19740 150
New
rms.mrcs
A couple of days ago I was discussing with a friend about different approaches to write microservices. He said that if he was going to w...
New
thojanssens1
It would be nice to be able to define a redirect from one route to another from the router.ex file. E.g.: redirect "/", UserController, ...
New
Rustixir
Hi everyone, im working on find best language/framework/system for high concurrency, high performance and stable performance after wor...
New

Other popular topics Top

New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54921 245
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
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 42533 114
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
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

We're in Beta

About us Mission Statement