You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sudo add-apt-repository ppa:longsleep/golang-backports
$ sudo apt update
$ sudo apt install golang-go
$ go version
go version go1.18.3 linux/amd64
clone and build hugo
$ mkdir $HOME/go/src
$ cd$HOME/go/src
$ git clone https://github.com/gohugoio/hugo.git
$ cd hugo
$ go install --tags extended
$ hugo version
hugo v0.99.0-DEV-89c1655ec88cd7286c2ed5f9b7eaed35af9cda52+extended linux/amd64 BuildDate=2022-04-28T11:02:45Z
If hugo version is failed, remember to add go path to PATH
Add export PATH=$PATH:$HOME/go/bin in ~/.bashrc
The text was updated successfully, but these errors were encountered:
https://github.com/microsoft/WSL/issues/5126#issuecomment-653715201
--> not working for mehttps://github.com/DamionGans/ubuntu-wsl2-systemd-script
--> not working for meSteps
hugo version
is failed, remember to add go path to PATHexport PATH=$PATH:$HOME/go/bin
in~/.bashrc
The text was updated successfully, but these errors were encountered: