How to install the Go language Ethereum (geth) under Ubuntu

Source: Internet
Author: User
Tags install go pack

The previous installment, installs again today, opens the GitHub project to forget, therefore writes this note, the recording process, simultaneously also facilitates other wants installs the person.

First on the GitHub search Ethereum, find this go-ethereum version of the.

See a lot of files at this time, there is a readme.md, open to see the following information:



Prompts us to install this software first to install go, version 1.7 or above. After installing go and downloading this item, unpack and execute the following command.

Next, I'll explain how to install go.


Go downloads can be downloaded from the following address:


Http://www.golangtc.com/download

Go has a variety of ways to install, you can choose what you like. Here we introduce three of the most common


See the installation method:


Go source installation: This is a standard way to install software. For users who often use Unix-like systems, it is most convenient and familiar for developers to install from the source.
Go Standard Pack Installation: Go provides a convenient installation package, supporting Windows, Linux, Mac and other systems. This method is suitable for beginners, can download the corresponding installation package according to their own system bits, all the way next can be installed easily.
Third-party tool installation: There are many convenient Third-party package tools, such as Ubuntu Apt-get, Mac homebrew and so on. This installation method is suitable for those who are familiar with the corresponding system.


This is the specific process of Source pack installation

Go to the official source code, and download, link and file name for reference only, specific links and file names according to the individual requirements of the revision.

For 64-bit Linux:?

1 $ wget https://storage. googleapis.com/golang/go1.4.1.linux-amd64. Tar. gz

For 32-bit Linux:?

1 $ wget https://storage. googleapis.com/golang/go1.4.1.linux-386. Tar. gz

I choose the source package installation, but Go Source pack do not compile, directly download the corresponding source code package, my Ubuntu is 32 bits, so choose go1.9.1.linux-386.tar.gz, extract to/usr/local

Install the program under/usr/local?

1 $ sudo tar-xzf go1.4.1.linux-xxx. Tar. Gz-c/usr/local

Add the system-wide PATH environment variable to the/etc/profile.

1 2 3
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.