• Is there a howto to upgrade/install golang 1.17 on an RasPi?

    From Bernd@3:770/3 to All on Tuesday, June 20, 2023 09:32:13
    Is there a howto to upgrade/install golang 1.17 on an RasPi?

    Where is a howto to upgrade/install golang 1.17 on an RasPi?

    Bernd

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dennis Lee Bieber@3:770/3 to All on Tuesday, June 20, 2023 11:33:42
    On Tue, 20 Jun 2023 09:32:13 +0200, Bernd <bnacht@web.de> declaimed the following:

    Is there a howto to upgrade/install golang 1.17 on an RasPi?

    Where is a howto to upgrade/install golang 1.17 on an RasPi?

    https://backports.debian.org/Instructions/

    1.15 is the latest version in Bullseye, so you have to add the backports repository to the list of repositories, do "apt update", and then find the name of 1.17 package(s) to use "apt install".

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From John@3:770/3 to Dennis Lee Bieber on Tuesday, June 20, 2023 23:37:18
    Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:

    On Tue, 20 Jun 2023 09:32:13 +0200, Bernd <bnacht@web.de> declaimed the following:

    Is there a howto to upgrade/install golang 1.17 on an RasPi?

    Where is a howto to upgrade/install golang 1.17 on an RasPi?

    https://backports.debian.org/Instructions/

    1.15 is the latest version in Bullseye, so you have to add the backports repository to the list of repositories, do "apt update", and then find the name of 1.17 package(s) to use "apt install".

    I'm normally 100% in favor of installing from repositories, but as
    someone who's been writing Go since 2010 (there were Makefiles back
    then...) I strongly recommend just grabbing the arm64 tarball off of golang.org, unpacking it in /usr/local, and adding /usr/local/go/bin to
    your $PATH. Upgrades are easy and can be done on your schedule, not the packager's.

    john

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)