* fix: replace sh with shell fix replace terminal with shell fix replace node with js fix replace output with shell fix replace cs with csharp fix replace c++ with cpp fix replace c# with csharp fix replace javasctipt with js fix replace syntax with js fix replace unix with shell fix replace linux with shell fix replace java 8 with java fix replace swift4 with swift fix replace react.js with jsx fix replace javascriot with js fix replace javacsript with js fix replace c++ - with cpp fix: corrected various typos fix: replace Algorithm with nothing fix: replace xaml with xml fix: replace solidity with nothing fix: replace c++ with cpp fix: replace txt with shell fix: replace code with json and css fix: replace console with shell
816 B
816 B
title, localeTitle
| title | localeTitle |
|---|---|
| Installing Go in Ubuntu using apt-get | Instalando o Go no Ubuntu usando o apt-get |
Instalando o Go no Ubuntu usando o apt-get
Usar o Gerenciador de Pacotes do Ubuntu (apt-get) é a maneira mais fácil de instalar o Go. Você não terá a versão estável mais recente, mas para o propósito de aprender isso deve ser o suficiente.
Como desta escrita, a versão do go do Ubuntu Xenial é 1.6.1, enquanto o mais recente versão estável é 1.9.1
$ sudo apt-get update
$ sudo apt-get install golang-go
Verifique a instalação e a versão do go
Para verificar se foi instalado com sucesso, use:
$ go version
> go version go1.9.1 linux/amd64
Isso imprimirá no console a versão do go e, ao mesmo tempo, garantirá que a instalação corra bem.