'gccgo-go'에 해당되는 글 1건

  1. 2016.10.19 Go 설치

Go 설치

Programming 2016. 10. 19. 10:55

Go Tour 중에 오프라인으로 설치하면 더 빠르다고 해서 설치 중..

https://go-tour-kr.appspot.com/#1



go get code.google.com/p/go-tour/gotour

라고 쳤는데, gccgo-go 를 설치 하라네..쥐씨씨고고?? ㅋ

The program 'go' is currently not installed. You can install it by typing:

sudo apt-get install gccgo-go


Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following extra packages will be installed:

  gccgo gccgo-4.9 libgo5

Suggested packages:

  gccgo-multilib gccgo-4.9-doc libgo5-dbg

The following NEW packages will be installed:

  gccgo gccgo-4.9 gccgo-go libgo5

0 upgraded, 4 newly installed, 0 to remove and 11 not upgraded.

Need to get 24.5 MB of archives.

After this operation, 110 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://ftp.daum.net/ubuntu/ trusty-updates/main libgo5 amd64 4.9.3-0ubuntu4 [2,600 kB]

Get:2 http://ftp.daum.net/ubuntu/ trusty-updates/universe gccgo-4.9 amd64 4.9.3-0ubuntu4 [21.5 MB]

Get:3 http://ftp.daum.net/ubuntu/ trusty/universe gccgo amd64 4:4.9-1ubuntu6 [1,060 B]

Get:4 http://ftp.daum.net/ubuntu/ trusty-updates/universe gccgo-go amd64 1.2.1-0ubuntu1.2 [424 kB]

Fetched 24.5 MB in 4s (5,945 kB/s)

Selecting previously unselected package libgo5:amd64.

(Reading database ... 202536 files and directories currently installed.)

Preparing to unpack .../libgo5_4.9.3-0ubuntu4_amd64.deb ...

Unpacking libgo5:amd64 (4.9.3-0ubuntu4) ...

Selecting previously unselected package gccgo-4.9.

Preparing to unpack .../gccgo-4.9_4.9.3-0ubuntu4_amd64.deb ...

Unpacking gccgo-4.9 (4.9.3-0ubuntu4) ...

Selecting previously unselected package gccgo.

Preparing to unpack .../gccgo_4%3a4.9-1ubuntu6_amd64.deb ...

Unpacking gccgo (4:4.9-1ubuntu6) ...

Selecting previously unselected package gccgo-go.

Preparing to unpack .../gccgo-go_1.2.1-0ubuntu1.2_amd64.deb ...

Unpacking gccgo-go (1.2.1-0ubuntu1.2) ...

Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

Setting up libgo5:amd64 (4.9.3-0ubuntu4) ...

Setting up gccgo-4.9 (4.9.3-0ubuntu4) ...

Setting up gccgo (4:4.9-1ubuntu6) ...

Setting up gccgo-go (1.2.1-0ubuntu1.2) ...

update-alternatives: using /usr/bin/gccgo-go to provide /usr/bin/go (go) in auto mode

Processing triggers for libc-bin (2.19-0ubuntu6.9) ...


뭘 많이 받네 ;;

그럼 다시 

$ go get code.google.com/p/go-tour/gotour

Segmentation fault

헐.. 뭐 어쩌라고;; 

일단 고;;;go 라고 한번 해봄..뭔가 실행되긴 하네....

$go

Go is a tool for managing Go source code.


Usage:


go command [arguments]


The commands are:


    build       compile packages and dependencies

    clean       remove object files

    env         print Go environment information

    fix         run go tool fix on packages

    fmt         run gofmt on package sources

    get         download and install packages and dependencies

    install     compile and install packages and dependencies

    list        list packages

    run         compile and run Go program

    test        test packages

    tool        run specified go tool

    version     print Go version

    vet         run go tool vet on packages


Use "go help [command]" for more information about a command.


Additional help topics:


    c           calling between Go and C

    gopath      GOPATH environment variable

    importpath  import path syntax

    packages    description of package lists

    testflag    description of testing flags

    testfunc    description of testing functions


Use "go help [topic]" for more information about that topic.


$go version

go version xgcc (Ubuntu 4.9.3-0ubuntu4) 4.9.3 linux/amd64


흠..뭐 실행되는것 같긴한데...세그먼트 폴트 머지....ㅠㅠ

공부좀 더하고 계속..


Posted by 라퀴옹
,