Any PPAs for Google's Go Language? The Next CEO of Stack OverflowInstalling google Go in...

Reference request: Grassmannian and Plucker coordinates in type B, C, D

What connection does MS Office have to Netscape Navigator?

From jafe to El-Guest

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

Does higher Oxidation/ reduction potential translate to higher energy storage in battery?

Could a dragon use its wings to swim?

Aggressive Under-Indexing and no data for missing index

It is correct to match light sources with the same color temperature?

Can I calculate next year's exemptions based on this year's refund/amount owed?

Is fine stranded wire ok for main supply line?

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

Inexact numbers as keys in Association?

Redefining symbol midway through a document

Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank

Physiological effects of huge anime eyes

Is it correct to say moon starry nights?

What day is it again?

Calculate the Mean mean of two numbers

Help/tips for a first time writer?

Is it ok to trim down a tube patch?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

How do I fit a non linear curve?

Is it professional to write unrelated content in an almost-empty email?

A question about free fall, velocity, and the height of an object.



Any PPAs for Google's Go Language?



The Next CEO of Stack OverflowInstalling google Go in UbuntuWhat are PPAs and how do I use them?How can PPAs be removed?Search Launchpad for PPAs matching software or package name?How can I backup my PPAs?GPG “NO_PUBKEY” errors for Libreoffice and Mozilla PPAsPPAs not showing up in synaptic?What Programming Language Would Be Best For Ubuntu Programming?Installing the Go LanguageCheck for and remove unused PPAsAutomatically installing PPAsPPAs for updated bash and zsh shells












32















Do you know of any URLs for PPAs of Google's Go Language?










share|improve this question

























  • Does anybody know of binary packages (.deb) of gccgo 4.7 or later for Ubuntu Lucid?

    – pts
    Apr 9 '12 at 17:58
















32















Do you know of any URLs for PPAs of Google's Go Language?










share|improve this question

























  • Does anybody know of binary packages (.deb) of gccgo 4.7 or later for Ubuntu Lucid?

    – pts
    Apr 9 '12 at 17:58














32












32








32


6






Do you know of any URLs for PPAs of Google's Go Language?










share|improve this question
















Do you know of any URLs for PPAs of Google's Go Language?







ppa programming golang






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 5 '12 at 4:21









Jorge Castro

37.1k106422617




37.1k106422617










asked Jul 30 '10 at 16:19









MartyMarty

90531215




90531215













  • Does anybody know of binary packages (.deb) of gccgo 4.7 or later for Ubuntu Lucid?

    – pts
    Apr 9 '12 at 17:58



















  • Does anybody know of binary packages (.deb) of gccgo 4.7 or later for Ubuntu Lucid?

    – pts
    Apr 9 '12 at 17:58

















Does anybody know of binary packages (.deb) of gccgo 4.7 or later for Ubuntu Lucid?

– pts
Apr 9 '12 at 17:58





Does anybody know of binary packages (.deb) of gccgo 4.7 or later for Ubuntu Lucid?

– pts
Apr 9 '12 at 17:58










6 Answers
6






active

oldest

votes


















13














Here's a PPA for Go. It worked for me, just now, and is maintained with golang versions for 10.04-12.04.





  • https://launchpad.net/~gophers/+archive/go



    sudo add-apt-repository ppa:gophers/go
    sudo apt-get update
    sudo apt-get install golang-stable



Substitute golang-weekly or golang-tip if you want more up to date snapshots.



References:




  • https://wiki.ubuntu.com/Go

  • What are PPAs and how do I use them?


EDIT: unfortunately the Gophers archive is now discontinued (see the PPA description and http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go), now replaced by a custom binary that can be used to generate Go deb packages from source.



However, the golang package currently in Trusty is relatively recent (1.2.1 at the time of this writing). If you are still on 12.04, you might want to use this backports PPA:





  • https://launchpad.net/~bcandrea/+archive/ubuntu/backports



     sudo add-apt-repository ppa:bcandrea/backports
    sudo apt-get update
    sudo apt-get install golang



which I maintain trying to keep up with stable updates in official Ubuntu repositories.






share|improve this answer


























  • I've installed this PPA and I seem to have all the relevant packages installed (stable version). But where are the executables? I'm trying the usual ones - 6g and 6l are not in the path.

    – egarcia
    Mar 19 '12 at 19:02






  • 1





    No support for 14.04... :-(

    – Ionică Bizău
    May 2 '14 at 15:09






  • 1





    ...aaaaand it's yet another dead PPA without packages for current versions of Ubuntu.

    – Aaron C. de Bruyn
    Oct 6 '15 at 18:24











  • Please unmark this answer as the right one, it's no longer relevant.

    – Jason R. Coombs
    Jan 9 at 20:14



















7














Currently, there is no PPA for the latest upstream version of Go available. To install the current Go version you can use godeb, which automatically installs the latest upstream version as a .deb package:





  1. Prepare the envorinment by creating a directory and setting the GOPATH and PATH variable:



    mkdir -p ~/.go/bin
    echo "GOPATH DEFAULT=${HOME}/.go" >> ~/.pam_environment
    echo "PATH DEFAULT=${PATH}:$GOPATH/bin" >> ~/.pam_environment
    # Re-login your user so the variables are applied



  2. Download, unpack and install the latest Go version with godeb:



    wget -O /tmp/godeb-amd64.tar.gz https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
    tar xfz /tmp/godeb-amd64.tar.gz -C ~/.go/bin
    godeb install


    Go is now ready to use. For more information, see godeb --help.








share|improve this answer



















  • 2





    2016 here. This is the correct answer.

    – mniess
    Jan 31 '16 at 23:27











  • Yes, just discovered this myself as the correct answer. You can read a blog post about it here. blog.labix.org/2013/06/15/in-flight-deb-packages-of-go

    – RayfenWindspear
    Oct 7 '16 at 15:25











  • On Ubuntu Xenial, the "prepare environment" instructions don't work for me. The .pam_environment is executed, but ${HOME} apparently is empty, so GOPATH ends up as /.go, which is a no-go.

    – Jason R. Coombs
    Jan 9 at 20:23













  • See my answer below for info on how to install go v1.11 from the gophers archive PPA.

    – Jonathan Cross
    4 mins ago



















5














I've not been able to find a PPA, but the gccgo developer has posted .deb packages on his sourceforge site.



Individuals have been working on packaging upstream Go in Debian, see the WNPP bug for more info. You might be able to build a deb from the hg repo as folloows:



hg clone http://hg.debian.org/hg/collab-maint/golang/
cd golang
debuild -us -uc


I'm not terribly familiar with using hg to build debian packages, and keep in mind this is development packaging you're working with.






share|improve this answer



















  • 1





    abort: HTTP Error 404: Not Found

    – Ionică Bizău
    May 2 '14 at 15:08



















5














I used this one ppa:ubuntu-lxc/lxd-stable that has the near to latest version






share|improve this answer
























  • Why has this been downvoted? They actually provide a package of golang with version 1.6 beta. It worked well for me!

    – Atmocreations
    Jan 21 '16 at 7:25











  • Corresponding Launchpad page: launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable

    – Veger
    Sep 8 '16 at 8:34











  • This is what I have been using but they are currently lagging behind. Right now their version is 1.6.2, but 1.6.3 and 1.7 have been released.

    – RayfenWindspear
    Oct 7 '16 at 15:17



















0














gccgo has official .deb packages in Debian experimental now.



This should be all you need to compile go code into an executable.



More info and links here:




  • Go (golang) intro incl. availability of packages in main distributions


As latest Ubuntu is usually a pull from experimental, then it should certainly be in 11.04 Natty Narwhal.



If you want roll you own .deb for a previous Ubuntu version, then comment from @lfaraone will get you access to debianized selection of google's own source.



If you want to pull the source direct from Google then there is a recent article by @mirwing telling you how to do that.






share|improve this answer































    0














    Go versions 1.4 through 1.11 for Ubuntu Trusty, Xenial, Bionic, Cosmic and Disco can be installed from here:
    https://launchpad.net/~gophers/+archive/ubuntu/archive



    sudo add-apt-repository ppa:gophers/go
    sudo apt-get update
    sudo apt-get install golang-1.11-go


     



    Note: After install, you will need to add /usr/lib/go-1.X/bin (or maybe /usr/lib/go-tip/bin) to your $PATH, or you can just invoke /usr/lib/go-1.X/bin/go directly.





    share
























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f513%2fany-ppas-for-googles-go-language%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      6 Answers
      6






      active

      oldest

      votes








      6 Answers
      6






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      13














      Here's a PPA for Go. It worked for me, just now, and is maintained with golang versions for 10.04-12.04.





      • https://launchpad.net/~gophers/+archive/go



        sudo add-apt-repository ppa:gophers/go
        sudo apt-get update
        sudo apt-get install golang-stable



      Substitute golang-weekly or golang-tip if you want more up to date snapshots.



      References:




      • https://wiki.ubuntu.com/Go

      • What are PPAs and how do I use them?


      EDIT: unfortunately the Gophers archive is now discontinued (see the PPA description and http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go), now replaced by a custom binary that can be used to generate Go deb packages from source.



      However, the golang package currently in Trusty is relatively recent (1.2.1 at the time of this writing). If you are still on 12.04, you might want to use this backports PPA:





      • https://launchpad.net/~bcandrea/+archive/ubuntu/backports



         sudo add-apt-repository ppa:bcandrea/backports
        sudo apt-get update
        sudo apt-get install golang



      which I maintain trying to keep up with stable updates in official Ubuntu repositories.






      share|improve this answer


























      • I've installed this PPA and I seem to have all the relevant packages installed (stable version). But where are the executables? I'm trying the usual ones - 6g and 6l are not in the path.

        – egarcia
        Mar 19 '12 at 19:02






      • 1





        No support for 14.04... :-(

        – Ionică Bizău
        May 2 '14 at 15:09






      • 1





        ...aaaaand it's yet another dead PPA without packages for current versions of Ubuntu.

        – Aaron C. de Bruyn
        Oct 6 '15 at 18:24











      • Please unmark this answer as the right one, it's no longer relevant.

        – Jason R. Coombs
        Jan 9 at 20:14
















      13














      Here's a PPA for Go. It worked for me, just now, and is maintained with golang versions for 10.04-12.04.





      • https://launchpad.net/~gophers/+archive/go



        sudo add-apt-repository ppa:gophers/go
        sudo apt-get update
        sudo apt-get install golang-stable



      Substitute golang-weekly or golang-tip if you want more up to date snapshots.



      References:




      • https://wiki.ubuntu.com/Go

      • What are PPAs and how do I use them?


      EDIT: unfortunately the Gophers archive is now discontinued (see the PPA description and http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go), now replaced by a custom binary that can be used to generate Go deb packages from source.



      However, the golang package currently in Trusty is relatively recent (1.2.1 at the time of this writing). If you are still on 12.04, you might want to use this backports PPA:





      • https://launchpad.net/~bcandrea/+archive/ubuntu/backports



         sudo add-apt-repository ppa:bcandrea/backports
        sudo apt-get update
        sudo apt-get install golang



      which I maintain trying to keep up with stable updates in official Ubuntu repositories.






      share|improve this answer


























      • I've installed this PPA and I seem to have all the relevant packages installed (stable version). But where are the executables? I'm trying the usual ones - 6g and 6l are not in the path.

        – egarcia
        Mar 19 '12 at 19:02






      • 1





        No support for 14.04... :-(

        – Ionică Bizău
        May 2 '14 at 15:09






      • 1





        ...aaaaand it's yet another dead PPA without packages for current versions of Ubuntu.

        – Aaron C. de Bruyn
        Oct 6 '15 at 18:24











      • Please unmark this answer as the right one, it's no longer relevant.

        – Jason R. Coombs
        Jan 9 at 20:14














      13












      13








      13







      Here's a PPA for Go. It worked for me, just now, and is maintained with golang versions for 10.04-12.04.





      • https://launchpad.net/~gophers/+archive/go



        sudo add-apt-repository ppa:gophers/go
        sudo apt-get update
        sudo apt-get install golang-stable



      Substitute golang-weekly or golang-tip if you want more up to date snapshots.



      References:




      • https://wiki.ubuntu.com/Go

      • What are PPAs and how do I use them?


      EDIT: unfortunately the Gophers archive is now discontinued (see the PPA description and http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go), now replaced by a custom binary that can be used to generate Go deb packages from source.



      However, the golang package currently in Trusty is relatively recent (1.2.1 at the time of this writing). If you are still on 12.04, you might want to use this backports PPA:





      • https://launchpad.net/~bcandrea/+archive/ubuntu/backports



         sudo add-apt-repository ppa:bcandrea/backports
        sudo apt-get update
        sudo apt-get install golang



      which I maintain trying to keep up with stable updates in official Ubuntu repositories.






      share|improve this answer















      Here's a PPA for Go. It worked for me, just now, and is maintained with golang versions for 10.04-12.04.





      • https://launchpad.net/~gophers/+archive/go



        sudo add-apt-repository ppa:gophers/go
        sudo apt-get update
        sudo apt-get install golang-stable



      Substitute golang-weekly or golang-tip if you want more up to date snapshots.



      References:




      • https://wiki.ubuntu.com/Go

      • What are PPAs and how do I use them?


      EDIT: unfortunately the Gophers archive is now discontinued (see the PPA description and http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go), now replaced by a custom binary that can be used to generate Go deb packages from source.



      However, the golang package currently in Trusty is relatively recent (1.2.1 at the time of this writing). If you are still on 12.04, you might want to use this backports PPA:





      • https://launchpad.net/~bcandrea/+archive/ubuntu/backports



         sudo add-apt-repository ppa:bcandrea/backports
        sudo apt-get update
        sudo apt-get install golang



      which I maintain trying to keep up with stable updates in official Ubuntu repositories.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Apr 13 '17 at 12:24









      Community

      1




      1










      answered May 16 '11 at 8:37









      Alex RudnickAlex Rudnick

      16212




      16212













      • I've installed this PPA and I seem to have all the relevant packages installed (stable version). But where are the executables? I'm trying the usual ones - 6g and 6l are not in the path.

        – egarcia
        Mar 19 '12 at 19:02






      • 1





        No support for 14.04... :-(

        – Ionică Bizău
        May 2 '14 at 15:09






      • 1





        ...aaaaand it's yet another dead PPA without packages for current versions of Ubuntu.

        – Aaron C. de Bruyn
        Oct 6 '15 at 18:24











      • Please unmark this answer as the right one, it's no longer relevant.

        – Jason R. Coombs
        Jan 9 at 20:14



















      • I've installed this PPA and I seem to have all the relevant packages installed (stable version). But where are the executables? I'm trying the usual ones - 6g and 6l are not in the path.

        – egarcia
        Mar 19 '12 at 19:02






      • 1





        No support for 14.04... :-(

        – Ionică Bizău
        May 2 '14 at 15:09






      • 1





        ...aaaaand it's yet another dead PPA without packages for current versions of Ubuntu.

        – Aaron C. de Bruyn
        Oct 6 '15 at 18:24











      • Please unmark this answer as the right one, it's no longer relevant.

        – Jason R. Coombs
        Jan 9 at 20:14

















      I've installed this PPA and I seem to have all the relevant packages installed (stable version). But where are the executables? I'm trying the usual ones - 6g and 6l are not in the path.

      – egarcia
      Mar 19 '12 at 19:02





      I've installed this PPA and I seem to have all the relevant packages installed (stable version). But where are the executables? I'm trying the usual ones - 6g and 6l are not in the path.

      – egarcia
      Mar 19 '12 at 19:02




      1




      1





      No support for 14.04... :-(

      – Ionică Bizău
      May 2 '14 at 15:09





      No support for 14.04... :-(

      – Ionică Bizău
      May 2 '14 at 15:09




      1




      1





      ...aaaaand it's yet another dead PPA without packages for current versions of Ubuntu.

      – Aaron C. de Bruyn
      Oct 6 '15 at 18:24





      ...aaaaand it's yet another dead PPA without packages for current versions of Ubuntu.

      – Aaron C. de Bruyn
      Oct 6 '15 at 18:24













      Please unmark this answer as the right one, it's no longer relevant.

      – Jason R. Coombs
      Jan 9 at 20:14





      Please unmark this answer as the right one, it's no longer relevant.

      – Jason R. Coombs
      Jan 9 at 20:14













      7














      Currently, there is no PPA for the latest upstream version of Go available. To install the current Go version you can use godeb, which automatically installs the latest upstream version as a .deb package:





      1. Prepare the envorinment by creating a directory and setting the GOPATH and PATH variable:



        mkdir -p ~/.go/bin
        echo "GOPATH DEFAULT=${HOME}/.go" >> ~/.pam_environment
        echo "PATH DEFAULT=${PATH}:$GOPATH/bin" >> ~/.pam_environment
        # Re-login your user so the variables are applied



      2. Download, unpack and install the latest Go version with godeb:



        wget -O /tmp/godeb-amd64.tar.gz https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
        tar xfz /tmp/godeb-amd64.tar.gz -C ~/.go/bin
        godeb install


        Go is now ready to use. For more information, see godeb --help.








      share|improve this answer



















      • 2





        2016 here. This is the correct answer.

        – mniess
        Jan 31 '16 at 23:27











      • Yes, just discovered this myself as the correct answer. You can read a blog post about it here. blog.labix.org/2013/06/15/in-flight-deb-packages-of-go

        – RayfenWindspear
        Oct 7 '16 at 15:25











      • On Ubuntu Xenial, the "prepare environment" instructions don't work for me. The .pam_environment is executed, but ${HOME} apparently is empty, so GOPATH ends up as /.go, which is a no-go.

        – Jason R. Coombs
        Jan 9 at 20:23













      • See my answer below for info on how to install go v1.11 from the gophers archive PPA.

        – Jonathan Cross
        4 mins ago
















      7














      Currently, there is no PPA for the latest upstream version of Go available. To install the current Go version you can use godeb, which automatically installs the latest upstream version as a .deb package:





      1. Prepare the envorinment by creating a directory and setting the GOPATH and PATH variable:



        mkdir -p ~/.go/bin
        echo "GOPATH DEFAULT=${HOME}/.go" >> ~/.pam_environment
        echo "PATH DEFAULT=${PATH}:$GOPATH/bin" >> ~/.pam_environment
        # Re-login your user so the variables are applied



      2. Download, unpack and install the latest Go version with godeb:



        wget -O /tmp/godeb-amd64.tar.gz https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
        tar xfz /tmp/godeb-amd64.tar.gz -C ~/.go/bin
        godeb install


        Go is now ready to use. For more information, see godeb --help.








      share|improve this answer



















      • 2





        2016 here. This is the correct answer.

        – mniess
        Jan 31 '16 at 23:27











      • Yes, just discovered this myself as the correct answer. You can read a blog post about it here. blog.labix.org/2013/06/15/in-flight-deb-packages-of-go

        – RayfenWindspear
        Oct 7 '16 at 15:25











      • On Ubuntu Xenial, the "prepare environment" instructions don't work for me. The .pam_environment is executed, but ${HOME} apparently is empty, so GOPATH ends up as /.go, which is a no-go.

        – Jason R. Coombs
        Jan 9 at 20:23













      • See my answer below for info on how to install go v1.11 from the gophers archive PPA.

        – Jonathan Cross
        4 mins ago














      7












      7








      7







      Currently, there is no PPA for the latest upstream version of Go available. To install the current Go version you can use godeb, which automatically installs the latest upstream version as a .deb package:





      1. Prepare the envorinment by creating a directory and setting the GOPATH and PATH variable:



        mkdir -p ~/.go/bin
        echo "GOPATH DEFAULT=${HOME}/.go" >> ~/.pam_environment
        echo "PATH DEFAULT=${PATH}:$GOPATH/bin" >> ~/.pam_environment
        # Re-login your user so the variables are applied



      2. Download, unpack and install the latest Go version with godeb:



        wget -O /tmp/godeb-amd64.tar.gz https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
        tar xfz /tmp/godeb-amd64.tar.gz -C ~/.go/bin
        godeb install


        Go is now ready to use. For more information, see godeb --help.








      share|improve this answer













      Currently, there is no PPA for the latest upstream version of Go available. To install the current Go version you can use godeb, which automatically installs the latest upstream version as a .deb package:





      1. Prepare the envorinment by creating a directory and setting the GOPATH and PATH variable:



        mkdir -p ~/.go/bin
        echo "GOPATH DEFAULT=${HOME}/.go" >> ~/.pam_environment
        echo "PATH DEFAULT=${PATH}:$GOPATH/bin" >> ~/.pam_environment
        # Re-login your user so the variables are applied



      2. Download, unpack and install the latest Go version with godeb:



        wget -O /tmp/godeb-amd64.tar.gz https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
        tar xfz /tmp/godeb-amd64.tar.gz -C ~/.go/bin
        godeb install


        Go is now ready to use. For more information, see godeb --help.









      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Feb 22 '15 at 14:08









      zerwaszerwas

      3,37311618




      3,37311618








      • 2





        2016 here. This is the correct answer.

        – mniess
        Jan 31 '16 at 23:27











      • Yes, just discovered this myself as the correct answer. You can read a blog post about it here. blog.labix.org/2013/06/15/in-flight-deb-packages-of-go

        – RayfenWindspear
        Oct 7 '16 at 15:25











      • On Ubuntu Xenial, the "prepare environment" instructions don't work for me. The .pam_environment is executed, but ${HOME} apparently is empty, so GOPATH ends up as /.go, which is a no-go.

        – Jason R. Coombs
        Jan 9 at 20:23













      • See my answer below for info on how to install go v1.11 from the gophers archive PPA.

        – Jonathan Cross
        4 mins ago














      • 2





        2016 here. This is the correct answer.

        – mniess
        Jan 31 '16 at 23:27











      • Yes, just discovered this myself as the correct answer. You can read a blog post about it here. blog.labix.org/2013/06/15/in-flight-deb-packages-of-go

        – RayfenWindspear
        Oct 7 '16 at 15:25











      • On Ubuntu Xenial, the "prepare environment" instructions don't work for me. The .pam_environment is executed, but ${HOME} apparently is empty, so GOPATH ends up as /.go, which is a no-go.

        – Jason R. Coombs
        Jan 9 at 20:23













      • See my answer below for info on how to install go v1.11 from the gophers archive PPA.

        – Jonathan Cross
        4 mins ago








      2




      2





      2016 here. This is the correct answer.

      – mniess
      Jan 31 '16 at 23:27





      2016 here. This is the correct answer.

      – mniess
      Jan 31 '16 at 23:27













      Yes, just discovered this myself as the correct answer. You can read a blog post about it here. blog.labix.org/2013/06/15/in-flight-deb-packages-of-go

      – RayfenWindspear
      Oct 7 '16 at 15:25





      Yes, just discovered this myself as the correct answer. You can read a blog post about it here. blog.labix.org/2013/06/15/in-flight-deb-packages-of-go

      – RayfenWindspear
      Oct 7 '16 at 15:25













      On Ubuntu Xenial, the "prepare environment" instructions don't work for me. The .pam_environment is executed, but ${HOME} apparently is empty, so GOPATH ends up as /.go, which is a no-go.

      – Jason R. Coombs
      Jan 9 at 20:23







      On Ubuntu Xenial, the "prepare environment" instructions don't work for me. The .pam_environment is executed, but ${HOME} apparently is empty, so GOPATH ends up as /.go, which is a no-go.

      – Jason R. Coombs
      Jan 9 at 20:23















      See my answer below for info on how to install go v1.11 from the gophers archive PPA.

      – Jonathan Cross
      4 mins ago





      See my answer below for info on how to install go v1.11 from the gophers archive PPA.

      – Jonathan Cross
      4 mins ago











      5














      I've not been able to find a PPA, but the gccgo developer has posted .deb packages on his sourceforge site.



      Individuals have been working on packaging upstream Go in Debian, see the WNPP bug for more info. You might be able to build a deb from the hg repo as folloows:



      hg clone http://hg.debian.org/hg/collab-maint/golang/
      cd golang
      debuild -us -uc


      I'm not terribly familiar with using hg to build debian packages, and keep in mind this is development packaging you're working with.






      share|improve this answer



















      • 1





        abort: HTTP Error 404: Not Found

        – Ionică Bizău
        May 2 '14 at 15:08
















      5














      I've not been able to find a PPA, but the gccgo developer has posted .deb packages on his sourceforge site.



      Individuals have been working on packaging upstream Go in Debian, see the WNPP bug for more info. You might be able to build a deb from the hg repo as folloows:



      hg clone http://hg.debian.org/hg/collab-maint/golang/
      cd golang
      debuild -us -uc


      I'm not terribly familiar with using hg to build debian packages, and keep in mind this is development packaging you're working with.






      share|improve this answer



















      • 1





        abort: HTTP Error 404: Not Found

        – Ionică Bizău
        May 2 '14 at 15:08














      5












      5








      5







      I've not been able to find a PPA, but the gccgo developer has posted .deb packages on his sourceforge site.



      Individuals have been working on packaging upstream Go in Debian, see the WNPP bug for more info. You might be able to build a deb from the hg repo as folloows:



      hg clone http://hg.debian.org/hg/collab-maint/golang/
      cd golang
      debuild -us -uc


      I'm not terribly familiar with using hg to build debian packages, and keep in mind this is development packaging you're working with.






      share|improve this answer













      I've not been able to find a PPA, but the gccgo developer has posted .deb packages on his sourceforge site.



      Individuals have been working on packaging upstream Go in Debian, see the WNPP bug for more info. You might be able to build a deb from the hg repo as folloows:



      hg clone http://hg.debian.org/hg/collab-maint/golang/
      cd golang
      debuild -us -uc


      I'm not terribly familiar with using hg to build debian packages, and keep in mind this is development packaging you're working with.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jul 30 '10 at 16:32









      lfaraonelfaraone

      4,20912031




      4,20912031








      • 1





        abort: HTTP Error 404: Not Found

        – Ionică Bizău
        May 2 '14 at 15:08














      • 1





        abort: HTTP Error 404: Not Found

        – Ionică Bizău
        May 2 '14 at 15:08








      1




      1





      abort: HTTP Error 404: Not Found

      – Ionică Bizău
      May 2 '14 at 15:08





      abort: HTTP Error 404: Not Found

      – Ionică Bizău
      May 2 '14 at 15:08











      5














      I used this one ppa:ubuntu-lxc/lxd-stable that has the near to latest version






      share|improve this answer
























      • Why has this been downvoted? They actually provide a package of golang with version 1.6 beta. It worked well for me!

        – Atmocreations
        Jan 21 '16 at 7:25











      • Corresponding Launchpad page: launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable

        – Veger
        Sep 8 '16 at 8:34











      • This is what I have been using but they are currently lagging behind. Right now their version is 1.6.2, but 1.6.3 and 1.7 have been released.

        – RayfenWindspear
        Oct 7 '16 at 15:17
















      5














      I used this one ppa:ubuntu-lxc/lxd-stable that has the near to latest version






      share|improve this answer
























      • Why has this been downvoted? They actually provide a package of golang with version 1.6 beta. It worked well for me!

        – Atmocreations
        Jan 21 '16 at 7:25











      • Corresponding Launchpad page: launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable

        – Veger
        Sep 8 '16 at 8:34











      • This is what I have been using but they are currently lagging behind. Right now their version is 1.6.2, but 1.6.3 and 1.7 have been released.

        – RayfenWindspear
        Oct 7 '16 at 15:17














      5












      5








      5







      I used this one ppa:ubuntu-lxc/lxd-stable that has the near to latest version






      share|improve this answer













      I used this one ppa:ubuntu-lxc/lxd-stable that has the near to latest version







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jan 18 '16 at 8:19









      lcapralcapra

      15912




      15912













      • Why has this been downvoted? They actually provide a package of golang with version 1.6 beta. It worked well for me!

        – Atmocreations
        Jan 21 '16 at 7:25











      • Corresponding Launchpad page: launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable

        – Veger
        Sep 8 '16 at 8:34











      • This is what I have been using but they are currently lagging behind. Right now their version is 1.6.2, but 1.6.3 and 1.7 have been released.

        – RayfenWindspear
        Oct 7 '16 at 15:17



















      • Why has this been downvoted? They actually provide a package of golang with version 1.6 beta. It worked well for me!

        – Atmocreations
        Jan 21 '16 at 7:25











      • Corresponding Launchpad page: launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable

        – Veger
        Sep 8 '16 at 8:34











      • This is what I have been using but they are currently lagging behind. Right now their version is 1.6.2, but 1.6.3 and 1.7 have been released.

        – RayfenWindspear
        Oct 7 '16 at 15:17

















      Why has this been downvoted? They actually provide a package of golang with version 1.6 beta. It worked well for me!

      – Atmocreations
      Jan 21 '16 at 7:25





      Why has this been downvoted? They actually provide a package of golang with version 1.6 beta. It worked well for me!

      – Atmocreations
      Jan 21 '16 at 7:25













      Corresponding Launchpad page: launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable

      – Veger
      Sep 8 '16 at 8:34





      Corresponding Launchpad page: launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable

      – Veger
      Sep 8 '16 at 8:34













      This is what I have been using but they are currently lagging behind. Right now their version is 1.6.2, but 1.6.3 and 1.7 have been released.

      – RayfenWindspear
      Oct 7 '16 at 15:17





      This is what I have been using but they are currently lagging behind. Right now their version is 1.6.2, but 1.6.3 and 1.7 have been released.

      – RayfenWindspear
      Oct 7 '16 at 15:17











      0














      gccgo has official .deb packages in Debian experimental now.



      This should be all you need to compile go code into an executable.



      More info and links here:




      • Go (golang) intro incl. availability of packages in main distributions


      As latest Ubuntu is usually a pull from experimental, then it should certainly be in 11.04 Natty Narwhal.



      If you want roll you own .deb for a previous Ubuntu version, then comment from @lfaraone will get you access to debianized selection of google's own source.



      If you want to pull the source direct from Google then there is a recent article by @mirwing telling you how to do that.






      share|improve this answer




























        0














        gccgo has official .deb packages in Debian experimental now.



        This should be all you need to compile go code into an executable.



        More info and links here:




        • Go (golang) intro incl. availability of packages in main distributions


        As latest Ubuntu is usually a pull from experimental, then it should certainly be in 11.04 Natty Narwhal.



        If you want roll you own .deb for a previous Ubuntu version, then comment from @lfaraone will get you access to debianized selection of google's own source.



        If you want to pull the source direct from Google then there is a recent article by @mirwing telling you how to do that.






        share|improve this answer


























          0












          0








          0







          gccgo has official .deb packages in Debian experimental now.



          This should be all you need to compile go code into an executable.



          More info and links here:




          • Go (golang) intro incl. availability of packages in main distributions


          As latest Ubuntu is usually a pull from experimental, then it should certainly be in 11.04 Natty Narwhal.



          If you want roll you own .deb for a previous Ubuntu version, then comment from @lfaraone will get you access to debianized selection of google's own source.



          If you want to pull the source direct from Google then there is a recent article by @mirwing telling you how to do that.






          share|improve this answer













          gccgo has official .deb packages in Debian experimental now.



          This should be all you need to compile go code into an executable.



          More info and links here:




          • Go (golang) intro incl. availability of packages in main distributions


          As latest Ubuntu is usually a pull from experimental, then it should certainly be in 11.04 Natty Narwhal.



          If you want roll you own .deb for a previous Ubuntu version, then comment from @lfaraone will get you access to debianized selection of google's own source.



          If you want to pull the source direct from Google then there is a recent article by @mirwing telling you how to do that.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 20 '11 at 18:02







          Gary






























              0














              Go versions 1.4 through 1.11 for Ubuntu Trusty, Xenial, Bionic, Cosmic and Disco can be installed from here:
              https://launchpad.net/~gophers/+archive/ubuntu/archive



              sudo add-apt-repository ppa:gophers/go
              sudo apt-get update
              sudo apt-get install golang-1.11-go


               



              Note: After install, you will need to add /usr/lib/go-1.X/bin (or maybe /usr/lib/go-tip/bin) to your $PATH, or you can just invoke /usr/lib/go-1.X/bin/go directly.





              share




























                0














                Go versions 1.4 through 1.11 for Ubuntu Trusty, Xenial, Bionic, Cosmic and Disco can be installed from here:
                https://launchpad.net/~gophers/+archive/ubuntu/archive



                sudo add-apt-repository ppa:gophers/go
                sudo apt-get update
                sudo apt-get install golang-1.11-go


                 



                Note: After install, you will need to add /usr/lib/go-1.X/bin (or maybe /usr/lib/go-tip/bin) to your $PATH, or you can just invoke /usr/lib/go-1.X/bin/go directly.





                share


























                  0












                  0








                  0







                  Go versions 1.4 through 1.11 for Ubuntu Trusty, Xenial, Bionic, Cosmic and Disco can be installed from here:
                  https://launchpad.net/~gophers/+archive/ubuntu/archive



                  sudo add-apt-repository ppa:gophers/go
                  sudo apt-get update
                  sudo apt-get install golang-1.11-go


                   



                  Note: After install, you will need to add /usr/lib/go-1.X/bin (or maybe /usr/lib/go-tip/bin) to your $PATH, or you can just invoke /usr/lib/go-1.X/bin/go directly.





                  share













                  Go versions 1.4 through 1.11 for Ubuntu Trusty, Xenial, Bionic, Cosmic and Disco can be installed from here:
                  https://launchpad.net/~gophers/+archive/ubuntu/archive



                  sudo add-apt-repository ppa:gophers/go
                  sudo apt-get update
                  sudo apt-get install golang-1.11-go


                   



                  Note: After install, you will need to add /usr/lib/go-1.X/bin (or maybe /usr/lib/go-tip/bin) to your $PATH, or you can just invoke /usr/lib/go-1.X/bin/go directly.






                  share











                  share


                  share










                  answered 6 mins ago









                  Jonathan CrossJonathan Cross

                  15419




                  15419






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f513%2fany-ppas-for-googles-go-language%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                      Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                      Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...