# Https://yum.gohugo.io/ is unavailable

**URL:** <https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091>\
**Category:** support\
**Created:** [May 6, 2026, 10:49am UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091 "2026-05-06T10:49:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafal\_Krych](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rafal_krych/32/25916_2.png) [@Rafal\_Krych](https://discourse.gohugo.io/u/Rafal_Krych)\
**Post date:** [May 6, 2026, 10:49am UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091/1 "2026-05-06T10:49:14Z")

</div>

I’m trying to install Hugo on Red Hat Enterprise Linux release 8.10. Tried all package managers mentioned in official instruction and none of them worked for me. I succeeded with snap but this package is confined and it does not work with our current project. Now, I tried ‘sudo dnf install hugo’ and this does not work as well (I’ve followed [this instruction](https://dohost.us/index.php/2025/08/11/installing-hugo-a-guide-for-linux/)). Any chance to get [yum.gohugo.io](http://yum.gohugo.io) working? Any other ideas how I can install Hugo on my system using binary package? I would prefer to have it easily upgardeable in the future.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [May 6, 2026, 11:29am UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091/2 "2026-05-06T11:29:52Z")

</div>

> [@Rafal\_Krych](#):
>
> Any chance to get [yum.gohugo.io](http://yum.gohugo.io) working?

Not likely in near future.

Have you tried to use Go to build/install it: [GitHub - gohugoio/hugo: The world’s fastest framework for building websites. · GitHub](https://github.com/gohugoio/hugo#standard-edition)

---

<div class="post-metadata">

**Author:** ![Rafal\_Krych](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rafal_krych/32/25916_2.png) [@Rafal\_Krych](https://discourse.gohugo.io/u/Rafal_Krych)\
**Post date:** [May 6, 2026, 1:23pm UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091/3 "2026-05-06T13:23:44Z")

</div>

I’ve tried like this (need extended version):

> CGO\_ENABLED=0 go install -tags extended [github.com/gohugoio/hugo@latest](http://github.com/gohugoio/hugo@latest)

And it fails with this message on end:

`go: downloading ``github.com/josharian/intern`` v1.0.0`  
`package ``github.com/gohugoio/hugo`  
`imports ``github.com/gohugoio/hugo/commands`  
`imports ``github.com/gohugoio/hugo/create`  
`imports ``github.com/gohugoio/hugo/hugolib`  
`imports ``github.com/gohugoio/hugo/tpl/tplimplinit`  
`imports ``github.com/gohugoio/hugo/tpl/css`  
`imports ``github.com/gohugoio/hugo/resources/resource_transformers/tocss/scss`  
`imports ``github.com/bep/golibsass/libsass`  
`imports ``github.com/bep/golibsass/internal/libsass:`` build constraints exclude all Go files in /home/qryfalk/go/pkg/mod/github.com/bep/golibsass@v1.2.0/internal/libsass`

I guess I need to [install Dart Sass](https://sass-lang.com/dart-sass/) somehow?

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [May 6, 2026, 2:47pm UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091/4 "2026-05-06T14:47:10Z")

</div>

> [@Rafal\_Krych](#):
>
> I guess I need to [install Dart Sass](https://sass-lang.com/dart-sass/) somehow?

No you don’t need that to build Hugo.

What Go version do you use? (output of `go version`).

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [May 6, 2026, 3:22pm UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091/5 "2026-05-06T15:22:26Z")

</div>

> [@Rafal\_Krych](#):
>
> build constraints exclude all Go files in … libsass

You need to enable CGO to install the extended edition:

```plaintext
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest

```

See [https://gohugo.io/installation/linux/#build-from-source](https://gohugo.io/installation/linux/#build-from-source).

---

<div class="post-metadata">

**Author:** ![Rafal\_Krych](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rafal_krych/32/25916_2.png) [@Rafal\_Krych](https://discourse.gohugo.io/u/Rafal_Krych)\
**Post date:** [May 7, 2026, 12:22pm UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091/6 "2026-05-07T12:22:13Z")

</div>

Thanks a lot. I’ve finally managed to install Hugo using this command as a root (GOPATH is to install it to location available for all users on server):

`GOPATH=/usr/local/hugo CGO_ENABLED=1 /usr/local/go/bin/go install -tags extended github.com/gohugoio/hugo@latest`

---

<div class="post-metadata">

**Author:** ![Rafal\_Krych](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rafal_krych/32/25916_2.png) [@Rafal\_Krych](https://discourse.gohugo.io/u/Rafal_Krych)\
**Post date:** [May 7, 2026, 12:25pm UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091/7 "2026-05-07T12:25:10Z")

</div>

It’s: `go version go1.26.2 linux/amd64`

Freshly installed it like this:  
`wget -4 https://go.dev/dl/go1.26.2.linux-amd64.tar.gz`  
`sudo sh -c ‘rm -rf /usr/local/go && tar -C /usr/local -xzf go1.26.2.linux-amd64.tar.gz’`

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [May 9, 2026, 12:25pm UTC](https://discourse.gohugo.io/t/https-yum-gohugo-io-is-unavailable/57091/8 "2026-05-09T12:25:43Z")

</div>

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