I needed the extended version of hugo since I used a theme that requires CSS processing. This is now only available in the extended version of hugo.
Hugo was installed via apt, but I wanted to use snap, did the usual:
sudo apt remove hugo
sudo snap install hugo --channel=extended
I tried checking the version, was greeted with an error: -bash: /usr/local/bin/hugo: No such file or directory
.
Bash caches binaries found in the paths listed in the PATH
variable. To clear this out, you can run:
hash -d hugo
Source: https://unix.stackexchange.com/a/5610