Skip to content

x/website: wrong command for installing the go for wsl linux distro #68890

@iamakhildabral

Description

@iamakhildabral

What is the URL of the page with the issue?

https://go.dev/doc/install >> linux

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36

Screenshot

image

What did you do?

I tried ur command :
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.0.linux-amd64.tar.gz

What did you expect to see?

i expect a successful installation

What did you see instead?

that my tar zip file not found later i saw a video on youtube
https://www.youtube.com/watch?v=JgpLNj-Pnng&pp=ygUKZ28gb24gd3NsXA%3D%3D
where he show we need to use a sudo just in between your installation command before tar :
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.0.linux-amd64.tar.gz

Screenshot 2024-08-15 162631

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions