beno
I am in the process of setting up a new server for some project and this one has CentOS 7 on it (new to me). To my surprise, there is no support for elixir in their yum package manager and the only rpm package I could find is for version 0.12 (!). CentOS is a pretty popular server platform I think, so I didn’t expect that.
Now building from source always possible of course, even though it is something the CentOS people expressly advise against, but in general I noticed a very mixed picture when it comes to package support for various platforms: https://pkgs.org/download/elixir
Is that something we can fix? I think it is holding back the language unnecessarily. Has anyone else encountered this?
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
LostKobrakai
Afaik the core teams position is that it’s to be in the communities responsibility to care for package support not theirs. There are simply many systems out there and packaging is also something you need some hardware for, which I wouldn’t say should be the burden of the core team. On the other hand maybe look at the packages erlang solutions does supply. It seems like they currently only have erlang for cent os, but maybe they could also package elixir for cent os.
wmnnd
Erlang Solutions offer up-to-date packages for Ubuntu and Debian.
For Cent OS, they have Erlang/OTP packages only but maybe that’s already useful enough for you?
Check out their packages here: Erlang and Elixir Packages Download - Erlang Solutions
beno
Thanks, Erlang is not the issue, it is specifically Elixir that is MIA. I have now used one of the version managers (kiex), but even there I get complaints about “unknown Linux distro” and such. Anyway, I got it working, but I am still quite puzzled that a mainstream distribution like CentOS is not better supported.
outlog
I would suggest using something like GitHub - asdf-vm/asdf: Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more · GitHub - you want dev/staging/prod to have as matching as possible installs - and you’ll also want to be prepared for zero-day updates, and not be in the hands of a specific distro package maintainer.. you might also want to run multiple versions of erlang/elixir on a single server..
wmnnd
It’s really the folks at Centos who don’t offer better support for Elixir
LostKobrakai
And nobody in the elixir community has stepped up yet to maintain a cent os package. I’m not aware the core team supports any package repositories at all. Even the docker image tagged “official” is provided by someone in the community.
easco
I was also surprised to find that Elixir doesn’t have community support for CentOS. For a project I worked on several months ago, I have an Ansible script that install Erlang and Elixir to a CentOS build server. It grabs Erlang from the Erlang Solutions build and then installs Elixir from source. The relevant parts are reproduced below in the hopes that it will help. (For deployments we used Distillery and ERTS)
NobbZ
The answer is simple given the version of Erlang available in EPEL:
You can not run elixir 1.0 on OTP 16.
OvermindDL1
I also highly recommend this. Using Erlang/Elixir on RHEL and similar ones is always so sorely out of date otherwise… Or Docker.
AstonJ
Agree too!
Even with Ruby (and things like Postgresql) I do not use the CentOS versions - CentOS prefer stable/old packages and while that’s great for system components, when it comes to things like languages you’ll usually want to use more recent versions
Same with different versions - some of my Ruby apps for example, use different Ruby versions.