One minute
Install Hugo Static Website Generator on Ubuntu 20.04 LTS
How to download and install the extended version of Hugo static site generator on Ubuntu 20.04 LTS.
First you need to pick a releas from the Hugo GitHub repository, i.e.: https://github.com/gohugoio/hugo/releases/download/v0.98.0/hugo_0.98.0_Linux-64bit.deb.
Notice that I’m chosing the Linux 64bit version with .deb estension.
Then download it to your computer:
wget https://github.com/gohugoio/hugo/releases/download/v0.98.0/hugo_0.98.0_Linux-64bit.deb
The next step will be installing the actual package:
sudo dpkg -i hugo_0.98.0_Linux-64bit.deb
Done! Now if you execute hugo version you should see something like this:
hugo v0.98.0-165d299cde259c8b801abadc6d3405a229e449f6 linux/amd64 BuildDate=2022-04-28T10:23:30Z VendorInfo=gohugoio