Install Golang 1.7.x Programming Language on Linux

28/12/2020
Chưa phân loại

Golang is an open source programming language that makes it easy to build simple, reliable, and efficient software. The latest Golang release, v1.7, arrives six months after 1.6. Most of its changes are in the implementation of the toolchain, runtime, and libraries.

The release adds a port to IBM LinuxOne; updates the x86-64 compiler back end to generate more efficient code; includes the context package, promoted from the x/net subrepository and now used in the standard library; and adds support in the testing package for creating hierarchies of tests and benchmarks. The release also finalizes the vendoring support started in Go 1.5, making it a standard feature.

Go 1.7 Key Changelog

Ports

  • Go 1.7 adds support for macOS 10.12 Sierra. Binaries built with versions of Go before 1.7 will not work correctly on Sierra.
  • Go 1.7 adds an experimental port to Linux on z Systems (linux/s390x) and the beginning of a port to Plan 9 on ARM (plan9/arm).
  • The experimental ports to Linux on 64-bit MIPS (linux/mips64 and linux/mips64le) added in Go 1.6 now have full support for cgo and external linking.
  • The OpenBSD port now requires OpenBSD 5.6 or later, for access to the getentropy(2) system call.

Go Command

  • This release removes support for the GO15VENDOREXPERIMENT environment variable, as announced in the Go 1.6 release. Vendoring support is now a standard feature of the go command and toolchain.
  • This release adds experimental, minimal support for building programs using binary-only packages, packages distributed in binary form without the corresponding source code

Performance

  • There have been significant optimizations bringing more than 10% improvements to implementations

See changelog for full details

How to install latest Golang 1.7.x on Ubuntu 17.04, Ubuntu 16.10, Ubuntu 16.04, Ubuntu 15.04, Ubuntu 14.04

---------- Download latest package 32bit OS ----------    wget https://storage.googleapis.com/golang/go1.7.4.linux-386.tar.gz    ---------- Download latest package 64bit OS----------    wget https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz    ---------- Extract download package ----------    tar xvf go1.7*    ---------- Move extracted folder to "/usr/local" ----------    sudo chown -R root:root ./go    sudo mv go /usr/local    ---------- Edit profile using vim or any other text editor ----------    vim ~/.profile    ---------- Add following bash variables to profile so Golang knows where the directory is located ----------    export GOPATH=$HOME/work  export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin    ---------- Reload the updated profile ----------    source ~/.profile    ---------- Check version installed ----------    go version
ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Use Kickstart to Install CentOS 7

How to Use Kickstart to Install CentOS 7 You can install CentOS 7 automatically with a Kickstart file. A Kickstart file...
28/12/2020

The Ansible Debug Module

When you are working with Ansible playbooks, it’s great to have some debug options. Ansible provides a debug module that...
29/12/2020

OpenZFS backed NFS Server Part 2 – Mounting Network Drives on Windows 10

In one of my last posts I showed how you can host NFS storage on your LAN to be used by other appliances. We used the ZFS...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Check proxy trên trang nào chuẩn nhất❓
01/11/2023

Thuê Proxy chạy Google Ads / Cần chú ý gì khi chọn proxy và email chạy G.G ads?
12/10/2023

Thuê proxy 4G ở đâu uy tín, giá rẻ, chất lượng?
05/10/2023

Vì sao cần thuê proxy xoay? Địa chỉ cung cấp proxy xoay uy tín
05/10/2023

Thuê proxy v6 kéo view Youtube ở đâu uy tín, chất lượng?
05/10/2023