How to Install the Latest Version of Hugo

Ubuntu 20.04

For Debian-based linux distributions, it’s often easiest to pick up the latest copy over on the Hugo github (under Releases). One reason for this is how quickly new versions come out, the versions inside package managers can become out-dated quickly.

Recommended Way:

View Latest Github Releases  

And choose to download and install either of these (we’ve replaced the version with an X)

  • hugo_extended_0.X.0_Linux-64bit.deb
  • hugo_0.X.0_Linux-64bit.deb

Other way:

sudo apt install hugo

Either of these ways should be enough to get you setup, so that if you type:

$ hugo version
Hugo Static Site Generator v0.80.0-792EF0F4/extended linux/amd64 BuildDate: ...

…then you can see the current version running.

The only other setup required is the either setup your new project, or nagigate to your existing on and run the hugo command.

Site illustrations (of Hugo the rabbit) drawn by Carina Roberts.