[pkg-go] Go package and executables in PATH

Vincent Bernat bernat at debian.org
Mon Jun 5 04:16:52 UTC 2017


 ❦  4 juin 2017 18:27 -0400, pkgoyq.xpt at neverbox.com :

>> > 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.
>
>
> Would it be a better option to have golang-1.x-go packages to link Go
> executables into PATH, instead of golang-go?

In the past, users were able to choose their Go version with the
"update-alternatives" mechanism. However, this doesn't work well for
compilers as packages would be built with a different version depending
on the environment. gcc is in the same situation.

> Many people would avoid installing golang-go package so as not to pull in
> so many other packages that they don't need. I even go to the extreme and
> didn't even install golang-1.8. Would it better to provide such choice for
> them, instead of forcing them to install so many other packages that they
> don't need?

golang-go depends on golang-1.x-go and golang-src which in turn depends
on golang-1.x-src. golang-1.x-go also depends on golang-1.x-src. So, you
end with the same set of packages.
-- 
There is no distinctly native American criminal class except Congress.
		-- Mark Twain
-------------- 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/20170605/59df5488/attachment.sig>


More information about the Pkg-go-maintainers mailing list