Noob question on Hugo binaries

With Windows OS, I have to download hugo_extended_0.138.0_windows-amd64.zip and the Source Code (zip) to install Hugo. But on Linux, I download only hugo_extended_0.138.0_linux-amd64.deb and run sudo dpkg -i hugo_extended_0.138.0_linux-amd64.deb and Hugo is installed. What’s the difference here that one OS requires a source and the other does not? I am dual booting both OSes.

On Windows, you’ll only need hugo.exe.

What ever you downloaded …

No need for sources running Hugo.

that’s for example the release page: Release v0.138.0 · gohugoio/hugo · GitHub

and that’s the link there to binary: https://github.com/gohugoio/hugo/releases/download/v0.138.0/hugo_extended_0.138.0_windows-amd64.zip

There’s no source included: just 3 files

1 Like

Maybe things changed. But I always download and extract both files in Hugo for it to run. I will test again without and see.

There is a source at the bottom of the release page. I remember I had to download that alongside the binary in Windows for Hugo to run.

When and why?

What would the executable do with the source? Basically you do have an executable so you don’t need the source.

1 Like