Blogging with Hugo and GitHub Pages: Setup

To prepare for this lesson you will need the following tools installed:

Installing the most recent version of Hugo on Linux

When running sudo apt-get install hugo this does not always install the most recent version of hugo. If you find this is the case, you can try the following steps.

  1. Go to https://github.com/gohugoio/hugo/releases and find the latest release
  2. Download the .deb file for Linux according to your architecture. This is most likely the file that ends _Linux-64bit.deb.
  3. Once downloaded, run the following commands to install this version.

    sudo dpkg -i 
    
  4. Check the version has installed

    hugo version
    
  5. Clean up the .deb file

    rm