ariandanim

ariandanim

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?

Showing Posts 1 to 6

mudasobwa

mudasobwa

Creator of Cure

The wild-guess would be: as usually, the former is runtime and the latter is compiler+tools.

One should not in general use system libraries for erlang/elixir. Use asdf version manager or like.

ariandanim

ariandanim OP

asdf currently not support in Freebsd Sir

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.

krasenyp

krasenyp

My bad. I don’t know why I looked up only the Erlang version… Thanks for pointing out another difference.

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.

— All posts loaded —

Where Next? Top

Trending in Discussions Top

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
jtormey
Lately I’ve been thinking about how to organize components as a LiveView application grows. One of the pain points I’ve found (for myself...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New

Other Trending Topics Top

KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews