Android / Kotlin Enthusiast 🤖

can not update Hugo installed with apt

Hugo installed in my local environment (Ubuntu 20.04.4 LTS) could not be updated. I thought I’ve installed Hugo with apt, but can not update it through apt command.

$ hugo version
Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: 2020-03-25T06:15:45Z

The official document recommends using Homebrew to install Hugo to Linux (see Reference 1). Also, I found a stackoverflow answer (see Reference 2). It says that apt does not provide the latest version of Hugo.

So the solution was;

  1. removing the Hugo installed with apt
  2. re-installing it with Homebrew (According to my command history, I used apt-get, not apt 🤔)
$ apt-get remove hugo
$ brew install hugo
$ hugo version
hugo v0.101.0+extended linux/amd64 BuildDate=unknown



  1. Install Hugo | Hugo, retrieved from https://gohugo.io/getting-started/installing/ (last access: 2022/07/01)
  2. linux - Hugo version not updating to latest - Stack Overflow, retrieved from https://stackoverflow.com/questions/61677467/hugo-version-not-updating-to-latest (last access: 2022/07/01)


書いている人 😎



Jetpack ComposeによるAndroid MVVMアーキテクチャ入門の著者です。

👉 もっと詳しく

Android MVVMアーキテクチャ入門 📝


See Also 👀