On Fri, 10 Sep 2021, at 11:11 AM, Jérôme LAFORGE wrote:
> Hello all,
> For testing purpose, how can I install Go 1.16.8 with Go 1.17?
> 
> ```
> $go version
> go version go1.17 linux/amd64
> 
> $go get golang.org/dl/go1.16.8 
> go get: installing executables with 'go get' in module mode is deprecated. 
>        Use 'go install pkg@version' instead. 
>        For more information, see 
> https://golang.org/doc/go-get-install-deprecation 
>        or run 'go help get' or 'go help install'.
> 
> $go install golang.org/dl/go@1.16.8 
> go install: golang.org/dl/go@1.16.8: unrecognized import path 
> "golang.org/dl/go": reading https://golang.org/dl/go?go-get=1: 404 Not Found 
>        server response: 404 page not found
> ```


Try go install golang.org/dl/go1.16.8@latest which is documented here 
https://golang.org/doc/manage-install


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2139ee47-d705-4308-b714-d7c76654252d%40www.fastmail.com.

Reply via email to