How to install the Go development environment under Ubuntu

Source: Internet
Author: User

Here's the original.

https://www.howtoing.com/how-to-build-go-from-source-on-ubuntu-16-04/

Previous installation of Go has always been a 1.8 version.

A unit Test compilation problem has recently been found with go1.8 Minio open source projects. Need to use go 1.7.

But the test that appeared with Go 1.7 time failed.

There is no way. But without permission git clonehttps://go.googlesource.com/go

You can only manually modify the Src/time/time_test.go file

Refer to Https://github.com/golang/go/commit/c5434f2973a87acff76bac359236e690d632ce95 modification.

Then compile the./all.bash by: "

How to install the Go development environment under Ubuntu

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.