I have Hugo 0.18, wanted to update to 0.21, so in my (Linux) shell tried sudo apt install hugo
but got a message hugo is already the newest version (0.18).
Is there a plan to update the version available through apt
or should I just build from source to get > 0.18?
Thanks!
Max
So I just downloaded the hugo_0.21_Linux-64bit.deb
file from https://github.com/spf13/hugo/releases and double-clicked on it, which worked.
If you’re using Ubuntu the main repos are maintained by Canonical, hence the outdated Hugo version.
For an always up-to-date Hugo version on Linux you should first uninstall the Hugo version you installed from the .deb and then in your terminal execute sudo snap hugo
For more on the snap format check this out: https://snapcraft.io/
2 Likes