You are seeing the last version shipped with the last stable version of Ubuntu. To use the latest version, just download the latest binary from the releases page and install it. For example, I use Linux Mint, so I install the Linux AMD version.
Thank you @jmooring
I am not sure what happened. All of this is over my head.
Basically, I followed @tyco instructions above, but then it didn’t work. hugo version resulted in something like “file not found” and whereis hugo returned a blank line. So I ran sudo apt remove hugo and then sudo apt purge sudo and about to repeating @tyco 's instructions.
By chance, I found out that the v0.146.3 is recently be available on App Center hence can be installed from there. After that, I ran hugo version and copied and pasted the output in my previous post.
I am not knowledgeable about the difference between VendorInfo=snap:0.146.3 and VendorInfo=gohugoio. So I followed your instruction and ran whereis hugo. The output is as followings:
That’s correct. For a new or inexperienced user the snap package is a pretty good choice because it contains all of the optional dependencies. It automatically checks for updates 4 times each day, and installs the update in the background. You can disable/enable the auto update as needed: