4 ms·
I'm curious which package managers / repositories allow you to update to the latest version of go as soon as it's released * ? * In any remotely trustable and
by jaytaylor 6y ago
I'm curious which package managers / repositories allow you to update to the latest version of go as soon as it's released * ?
* In any remotely trustable and reliable way; random PPAs relying on somebody's free time don't count, IMHO.
I've noticed Ubuntu, Debian, Centos, and Oracle Enterprise Linux are always trailing by quite a clip. Often years.
The strategy I've been using is to just manually install it on the machines where I need it. The production go versions only get updated as required.
- Foxboron 6y ago> I'm curious which package managers / repositories allow you to update to the latest version of go as soon as it's released * ? Arch Linux. I just saw the release when I was checking for updated versions of packages I maintain, and built it before users started bugging me about outdated go binaries. https://www.archlinux.org/packages/community/x86_64/go/ https://www.archlinux.org/packages/community/x86_64/go/
- gautamcgoel 6y agoAs one commenter pointed out, you could use a rolling release distro like Arch or Fedora Rawhide and get the latest packages within days (sometimes hours) of the official release. I run vanilla Fedora and am usually at most six months behind the last release (though the GHC package is quite behind on Fedora, IIRC).
- wyoh 6y agoFedora rawhide packages the latest even beta and rc. We often are the first to report new bugs introduced by the latest release.
- tennineeight 6y agoNixOS and Nixpkgs. They are not instant updates in most cases like Arch, but Unstable has quite a few updated packages, and everything or anything can be updated or held back without fear of breaking, as previous config is a simple reboot away.
- asguy 6y agoMove up a rolling pre-release like Debian/testing and things are available quite quickly. You can pin packages to limit what you’ll run the latest of.
- stubish 6y agoThe snap distribution: https://snapcraft.io/go https://snapcraft.io/go . The 1.15/stable channel is already up, and I expect the default latest/stable channel will switch in short order.
- jaytaylor 6y agoSnap is only good if you don't mind getting forced updates at any time, and no ability to pin versions without going to great lengths. You can't even control when the updates get installed. I avoid it like the plague.