Installing the Hugo Blog software in WSL


I’m running Ubuntu 18.04 on WSL (Windows Sybsystem for Linux), and I want to run the hugo blogging software. I could have installed it in windows, but I thought the compatibility might be better in a linux environment.

The version of Hugo that comes with Ubuntu, via sudo apt install hugo, is too old and doesn’t work with any of the themes I’ve tried.

The easiest way to install hugo on ubuntu and get a recent version is to go to the hugo releases page at , and download the latest Linux 64bit.deb. Then install it with the command:

sudo dpkg -i hugo_0.62.2_Linux-64bit.deb

It’s probably fairly free of dependencies, so it should install on older versions of Ubuntu.