Package: golang-1.16-go Version: 1.16-1 Severity: normal Dear Maintainer,
My apologies if this is a silly question, but how do you use the go version provided by this package? I checked the following: - This package does not provide an executable named go1.16 or similar, as it is shown in the golang docs[1] and as done by similar packages (clang, gcc, perl, python, etc.). - This package does not provide an alternative for /usr/bin/go using the Debian Alternatives System. There are third-party tutorials that describe how to do so[2] but I assume this is unsupported. - Setting GOROOT=/usr/lib/go-1.16 does not appear to work: $ GOROOT=/usr/lib/go-1.16 go version go version go1.15.9 linux/amd64 Are users expected to set PATH=/usr/lib/go-1.16/bin/:$PATH in addition to GOROOT=/usr/lib/go-1.16 in order to use go 1.16? Is this mentioned in the docs? I didn't see any mention of version management in: - man go - man go-version - /usr/share/doc/golang*/{NEWS,README}* - /usr/share/doc/golang*/html/*.html - https://wiki.debian.org/golang - https://go-team.pages.debian.net/ Any guidance and additions to the docs (if I haven't missed something obvious) would be appreciated. Thanks, Kevin [1]: https://golang.org/doc/manage-install#installing-multiple [2]: https://iamemhn.link/rom/multiple-golang-debian-way/ -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-security'), (500, 'stable-debug'), (500, 'unstable'), (101, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.12.0-rc3 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages golang-1.16-go depends on: ii golang-1.16-src 1.16-1 ii libc6 2.31-9 Versions of packages golang-1.16-go recommends: ii g++ 4:10.2.1-1 ii gcc 4:10.2.1-1 ii libc6-dev 2.31-9 ii pkgconf [pkg-config] 1.7.4~git20210206+dcf529b-3 Versions of packages golang-1.16-go suggests: ii brz [bzr] 3.1.0-8 ii ca-certificates 20210119 ii git 1:2.30.2-1 ii mercurial 5.6.1-2 ii subversion 1.14.1-3 -- no debconf information