The following is the process I used to install Hugo on POP_OS! 19.04.
$ symbol in the steps below represent the linuxbrew or current directory within linuxbrew. In my case that’s located at…
$ sudo apt install git
$ cd /home $ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
$ cd linuxbrew/ $ sudo apt install linuxbrew-wrapper $ brew install hugo $ sudo apt install hugo $ hugo version $ hugo new site quickstart $ cd quickstart/themes/
$ git clone https://github.com/budparr/gohugo-theme-ananke.git $ cd .. $ git init
Edit your config.toml file and add the folder name to the theme file.
baseURL = "http://example.org/" languageCode = "en-us" title = "My New Hugo Site" theme = "gohugo-theme-ananke"
$ hugo server -D
If everything worked as expected your hugo site should be live at http://localhost:1313/
If you’re curious the test site I published to netlify is at https://epic-mayer-0e6e10.netlify.com/