Installing Hugo On Ubuntu 18.04 / Debian 10 from .deb package To install Hugo on Ubuntu 18.04 / Debian 10 from Debian package, first, download the latest release from Github releases page https://github.com/hugo/releases/. Select a version that matches your CPU architecture:

curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \
 | grep  browser_download_url \
 | grep Linux-64bit.deb \
 | grep -v extended \
 | cut -d '"' -f 4 \
 | wget -i -