RSS Amplifier

River Writes - A MediaWiki Blog · Jun 23, 2026

How to update Hugo on Debian

0
Sign in to vote or save

River · River Writes - A MediaWiki Blog

  1. River Writes - A MediaWiki Blog
  2. 2026
  3. How to update Hugo on Debian

This page looks best with JavaScript enabled

This is a post I’m creating about 50% because I want an easy-to-find reference for myself, but maybe someone will find it useful too.

  1. Go to the Hugo releases page
  2. Click “show all assets”
  3. Copy the URL for the hugo_extended_{version}_Linux-64bit.tar.gz version
  4. cd to wherever you will download it
  5. wget {url}
  6. tar -xsf hugo_{version}_Linux-64bit.tar.gz
  7. mv hugo /root/.local/bin/
  8. Rebuild the site
  9. Remove old versions

I prefer to use the non-extended version most of the time, because I rarely need to rebuild CSS. So then repeat steps 3-7 with hugo_{version}_Linux-64bit.tar.gz.

When making a CSS change, repeat steps 6-7 & rebuild with the slower extended version. Then repeat 6-7 again to go back to the faster non-extended version.

Share on


river

WRITTEN BY

River

River is a developer most at home in MediaWiki and known for building Leaguepedia. She likes cats.


Read the original on river.me

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.