go-toolset-7 - Go Toolset is designed for developers on the CentOS or Red Hat Enterprise Linux platform. It provides the Go programming language tools and libraries. Go is alternatively known as golang.

EL7 tests Build el7

Report a bug in the issue tracker

Instructions

You can get started in three easy steps:

# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl

# On RHEL, enable RHSCL repository for you system:
$ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms

# 2. Install the collection:
$ sudo yum install go-toolset-7

# 3. Start using software collections:
$ scl enable go-toolset-7 bash

At this point you should be able to use go and other tools just as a normal application. See examples bellow:

$ export GOPATH="$HOME/go"
$ mkdir -p "$GOPATH/src/hello" && cd $_
$ cat >hello.go <<'EOF'
package main
import "fmt"
func main() {
    fmt.Printf("Hello, World\n")
}
EOF
$ go build
$ ./hello

In order to view the individual components included in this collection, including additional development tools, you can run:

$ sudo yum list go-toolset-7\*

Go Toolset Software Collections as Docker Formatted Containers

On RHEL 7 you can pull the images with the following commands:

$ docker pull registry.access.redhat.com/devtools/go-toolset-7-rhel7

For more on the docker images follow the link to public source repository: https://github.com/sclorg/golang-container

Policy

Community Project: Maintained by upstream communities of developers. The software is cared for, but the developers make no commitments to update the repositories in a timely manner.

Yum Repositories

Operating system Package with repo Browse files
CentOS 7

yum install centos-release-scl-rh

x86_64
RHEL 7

yum-config-manager --enable rhel-server-rhscl-7-rpms

Tags

Rating

Rated by 0 users

Report malicious content