[pkg-go] Go package and executables in PATH
Vincent Bernat
bernat at debian.org
Sun Jun 4 07:09:17 UTC 2017
❦ 3 juin 2017 11:36 -0400, pkgoyq.xpt at neverbox.com :
> I just installed golang-1.8-go to my Ubuntu 17.04 and noticed that I don't
> have go in PATH:
>
> $ apt-cache policy golang-1.8-go
> golang-1.8-go:
> Installed: 1.8.1-1ubuntu1
> Candidate: 1.8.1-1ubuntu1
> Version table:
> *** 1.8.1-1ubuntu1 500
> 500 http://archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
> 100 /var/lib/dpkg/status
>
> $ apt-cache policy golang-1.8
> golang-1.8:
> Installed: (none)
> Candidate: 1.8.1-1ubuntu1
> Version table:
> 1.8.1-1ubuntu1 500
> 500 http://archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
>
> $ type go
> bash: type: go: not found
>
>
>
> Does Debian have such arrangement as well (no Go executables in PATH)
> having installed a (minimum) golang-1.x-go package?
You need to install golang-go package. Currently, this will use Go
1.7. You can install golang-go from experimental to get Go 1.8. You can
also just add /usr/lib/go-1.8/bin to your PATH.
--
Program defensively.
- The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170604/67f891fb/attachment.sig>
More information about the Pkg-go-maintainers
mailing list