Cov txheej txheem:

Yuav ua li cas rau nruab mus Lang hauv Ubuntu?
Yuav ua li cas rau nruab mus Lang hauv Ubuntu?

Video: Yuav ua li cas rau nruab mus Lang hauv Ubuntu?

Video: Yuav ua li cas rau nruab mus Lang hauv Ubuntu?
Video: tuav wb lub neej kom ruaj khov - Mang Vang ft. Christina Xyooj [Official Audio] 2021-22 2024, Kaum ib hlis
Anonim

Nruab Go 1.11 ntawm Ubuntu 18.04 & 16.04 LTS

  1. Nruab Go lus. Hloov kho dua tshiab kom siv cov kev ruaj ntseg tshiab tshiab rau Ubuntu .
  2. Teeb tsa Mus ib puag ncig. Tam sim no, cia peb teeb tsa Mus Cov lus ib puag ncig hloov pauv GOROOT, GOPATH thiab PATH.
  3. 3. Hloov kho lub plhaub tam sim no.
  4. Txheeb xyuas kev teeb tsa . Koj tau ua tiav lawm ntsia thiab configured Mus lus ntawm koj qhov system.

Ua li no, ua li cas koj nruab mus Lang hauv Linux?

Yuav ua li cas rau nruab Go Programming Language ntawm Linux (Ubuntu/Debian/CentOS)

  1. Kauj ruam 1 - Download Mus Qhov tseeb ruaj khov Version.
  2. Kauj ruam 2 - Configure System Ib puag ncig rau Mus. Rau Debian thiab Ubuntu Neeg Siv. Rau cov neeg siv CentOS 7. Rau cov neeg siv ZSH. Tsim Daim Ntawv Qhia Ua Haujlwm.
  3. Kauj Ruam 3 - Kev Xeem - Nyob Zoo Mus.
  4. Kev siv.

Tsis tas li ntawd, kuv yuav ua li cas rau nruab go lang? Downloading thiab nruab Go

  1. Rub tawm Golang raws li koj qhov system architecture thiab ua raws li cov lus qhia ntxiv rau kev teeb tsa ntawm Golang.
  2. Kauj ruam 2: Tam sim no luam thiab muab tshuaj txhuam cov ntawv tais ceev tseg nyob qhov twg koj xav rau nruab qhov no.
  3. Kauj ruam 4: Nyem rau ntawm Txoj Kev los ntawm cov kab ke sib txawv thiab tom qab ntawd nyem Kho.

Yog li ntawd, kuv yuav ua li cas rau nruab Golang ntawm Ubuntu?

Yuav ua li cas rau nruab Go 1.13 ntawm Ubuntu 18.04 & 16.04 LTS

  1. Kauj ruam 1 - Nruab Mus rau ntawm Ubuntu. Nkag mus rau koj qhov system Ubuntu siv ssh thiab hloov kho kom siv cov kev ruaj ntseg tshiab tshiab nyob rau ntawd.
  2. Kauj ruam 2 – Teeb Mus Ib puag ncig. Tam sim no koj yuav tsum teeb tsa Go lus ib puag ncig hloov pauv rau koj qhov project.
  3. Kauj Ruam 3 - Tshawb xyuas kev teeb tsa.

Kuv yuav upgrade Ubuntu li cas?

Kuv siv cov lus qhia no rau nruab qhov tseeb version ntawm

  1. Tshem tawm Go version uas twb muaj lawm: sudo apt-tau tshem tawm golang *
  2. Nruab qhov tseeb version ntawm Go: sudo add-apt-repository ppa: longsleep/golang-backports sudo apt-tau hloov tshiab sudo apt-mus nruab golang-go.

Pom zoo: