From Fedora Project Wiki

Go Programming


Add a Go compiler


Current status

  • Targeted release: Fedora ?
  • Last updated: 2010-07-06
  • Percentage of completion: 50% (Official Compiler Works)

Detailed Description

Go is a general-purpose language designed with systems programming in mind. It is strongly typed and garbage-collected and has explicit support for concurrent programming. Programs are constructed from packages, whose properties allow efficient management of dependencies. The existing implementations use a traditional compile/link model to generate executable binaries. (From: [2])

  • There are currently two implementations:
  1. Official Go (GC) 6g(64-bit)/8g(32-bit) Compiler
  • Official Go (GC) 6g(64-bit)/8g(32-bit) Compiler

6g (64-bit) and 8g (32-bit) are compilers for the Go programming Language. Go is an open source project, released under a BSD-style license. [3]


The gccgo compiler is a new frontend for gcc, the widely used GNU compiler. Although the frontend itself is under a BSD-style license, gccgo is normally used as part of gcc and is then covered by the GNU General Public License. [4]

Benefit to Fedora

Fedora will take some benefit to increase its community of developers with the inclusion of this feature. And an easy way for people who want to try this language.


Required steps are:

  1. Official Go Compiler (6g and 8g)
  2. Guideline for package Go application

How To Test

  • Ensure that the 'Hello World' Application on compiles and runs. Possibly use some of the examples listed in 'Effective Go'.
  • Lots of software is available [5] (Libraries, Software, Bindings)
  • Collect feedback from volunteers regarding their experience with Go programming
  • Currently Google Go (8g) works on x86 and 6g works on x86_64.
  • Conrad Meyer has Source RPMS for F12 go-0-0.YYYYMMDD.fc12.src.rpm [6]
  • Brandon Lozza has Fedora 13 Source RPMS from latest snapshot (based on Conrad's Work) (June 21 2010) [7]
  • Google Go has been proposed as a Fedora package [8]

Contingency Plan

None necessary. We should get Google Go or GCC-Go packages into the distribution in order to help the Community. We should also monitor upstream development process for potentially discovered issues and proactively apply patches.


  • Effective Go: [9]
  • Official Go Compiler Installation: [10]
  • GNU GCC-GO Installation Instructions [11]
  • Go Language FAQ: [12]
  • Language Design FAQ: [13]
  • Programming FAQ: [14]

Release Notes

Go programming is available in Fedora ____ .

Comments and Discussion