(Part 2) Install Hugo Extended on Linux using snap
Snap is a universal package manager developed by Canonical (the makers of Ubuntu). It allows you to install software in isolated containers, which include all necessary dependencies—making it easy to run the latest versions of applications across different Linux distributions.
Using snap to install Hugo ensures:
- You get the Extended version by default,
- Automatic updates,
- Fewer dependency issues across distros.
Step 1: Update Your System
sudo apt update && sudo apt upgradeStep 2: Install Required Packages
sudo apt install git curl wget tar snapdIf
gitis not yet installed, the command above will install it.snapdis the background service used to manage snap packages.
Step 2.1: Verify Git Installation
git --versionYou should see a version number if Git is correctly installed.
Step 3: Install Hugo Extended via Snap
sudo snap install hugo --channel=extended --classicThe
--channel=extendedflag ensures you get the Hugo Extended version (required for SCSS/SASS). The--classicflag gives Hugo permission to access the full system, which is necessary for many real-world use cases.
Step 4: Verify Installation
hugo versionYou should see output like:
hugo v0.124.1+extended linux/amd64 BuildDate=...Look for +extended in the output.
Hugo Extended is now installed on Linux!
Done installing? Proceed to the Launch Site page or go back to Hugo Tutorial: Start Here.