Hugo for Fedora Linux

How to always get the latest version of Hugo on fedora? I can install it by running this command

sudo dnf install hugo

but it’s giving me the v0.80.0, which is not the current version. so how can I get it? Is there any fedora user here? help me

You can install the binary from here:

1 Like

I don’t know how to make a package from binary. Is there any other easy way?

You don’ t need a package.

Download this:

Extract the binary (it’s named hugo), set perms, and place in your PATH.


Another possibility is to use hombrew/brew (

But the relevant updates usually come out with a few days delay.

Updates are started with brew upgrade hugo


Hiya @somratpro. :wave:

I am a Fedora user! :slight_smile: And I “install” Hugo by downloading the binary and putting in my path, which is as easy as putting it in ~/.local/bin.

I install the majority of my software from Flatpak, some from Fedora repos, and a handful of projects as downloaded binaries. Here is my ~/.local/bin:

maiki@deck:~/.local/bin$ ls -lah
total 71M
drwxr-xr-x 2 maiki maiki 4.0K Mar 21 15:03 .
drwxr-xr-x 4 maiki maiki 4.0K Sep  6  2021 ..
-rwxr-xr-x 1 maiki maiki 6.0M Oct  9  2021 fossil
-rwxr-xr-x 1 maiki maiki  52M Mar 16 07:59 hugo
-rwxr--r-- 1 maiki maiki  14M Nov 29 17:50 nvim

Those projects have release cycles and usage considerations that make them difficult to package.

I hadn’t updated Hugo in about a month, so I just “updated”:

maiki@deck:~/dl$ ls
maiki@deck:~/dl$ tar zxfv hugo_0.96.0_Linux-64bit.tar.gz 
maiki@deck:~/dl$ mv hugo ~/.local/bin/
maiki@deck:~/dl$ hugo version
hugo v0.96.0-2fd4a7d3d6845e75f8b8ae3a2a7bd91438967bbb linux/amd64 BuildDate=2022-03-26T09:15:58Z VendorInfo=gohugoio

Hope that helps. :slight_smile:


The install page also mentions the Fedora Copr package here: daftaupe/hugo Copr

It’s the one I personally use on my Fedora installation. It’s going to be a few versions behind, but if you’re like me and you want to avoid manually updating binaries or additional package managers, this is the next best option.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.