by holstvoogd · 5y ago · 0 comments
To illustrate what I mean, and this is ofcourse very subjective and dependent on my use case etc: I work on and manage hosting for RoR applications. I have a linux laptop I cannot develop on because I cannot install a recent version of ruby. Yes I can compile it manually or whatever, but that defeats the point of having distros etc.
On our hosting platform we use AWS linux, which is based of Centos. The latest version of Ruby on AWS linux is 7 years old. Our app probably wouldn't even run on it.
So we use containers. Special custom ruby images with recent versions build in a stable debian base. Now I have the problem that a.o nginx and nodejs have no recent versions available; versions that we either need for features or just because random dependecies.
So maybe the market for stable == 5+ years behind is simply not that viable anymore. Other distro's fill that demand and now centos can offer a distro for situations where you need a bit more recent versions.
You are missing the point that it's a desired feature of CentOS distro that is targeted at servers - stability is valued more over running the latest versions of some software that isn't tested over a long period of time and may or may not have bugs.
Most people use CentOS in servers because it provided a very easy migration "upgrade" in the future to Red Hat Enterprise Linux (CentOS is a near clone of RHEL, without the Red Hat branding). Now nobody will consider it anymore because the new CentOS is not tested for stability (using tried and tested bug-free softwares) and won't provide an easy migration path to RHEL anymore.
It may be that your application benefits greatly from always running the latest versions of whatever technologies you use, but there are tons of use-cases for a more slow-moving platform as well.
For this use, I'd say one should use a disto focused only on running containers. Everything else is overkill and subject to "feature" creep on the server.
There is also the issue that all the container stuff is still a moving target feature-wise.
On RHEL 6 and 7, Software Collections are supposed to help with this: https://developers.redhat.com/products/softwarecollections/h...
You can install rh-ruby26 which doesn't sound too bad to me.
On RHEL 8 there are modules/appstreams (according to https://access.redhat.com/support/policy/updates/rhel8-app-s..., you can use the ruby 2.7 appstream today which will be maintained until March 2023).
Red Hat also produce container images for those who want to go that way. Of course you can use any container image you want... I'm only mentioning this because the ubi8/nginx-118 and ubi8/nodejs-14 container images seem pretty up to date to me... ;)
So you would install a newer Ruby, maybe even JRuby?, and a newer Rails, but you're probably not interested in time-consumingly maintaining postfix. Or systemd. Or gcc. Or the GNU userland.
Are you using Amazon Linux extras? That’s what I use for current Python releases and it seems to have more recent Ruby versions:
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-i...