# Cant get latest version of hugo

**URL:** <https://discourse.gohugo.io/t/cant-get-latest-version-of-hugo/8038>\
**Category:** support\
**Created:** [August 19, 2017, 11:00pm UTC](https://discourse.gohugo.io/t/cant-get-latest-version-of-hugo/8038 "2017-08-19T23:00:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishant](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nishant/32/3925_2.png) [@nishant](https://discourse.gohugo.io/u/nishant)\
**Post date:** [August 19, 2017, 11:00pm UTC](https://discourse.gohugo.io/t/cant-get-latest-version-of-hugo/8038/1 "2017-08-19T23:00:55Z")

</div>

I have installed hugo manually and then tried using apt-get method on my ubuntu machine and server. This is what I get

Hugo Static Site Generator v0.16-DEV BuildDate: 2016-02-06T22:44:17+05:30

I assume the latest version is 0.20. Any clue why can’t i get it?

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [August 20, 2017, 1:08am UTC](https://discourse.gohugo.io/t/cant-get-latest-version-of-hugo/8038/2 "2017-08-20T01:08:06Z")

</div>

Read through the [installation docs](https://gohugo.io/getting-started/installing/). For instance, it will tell you about the [Hugo releases page](https://github.com/gohugoio/hugo/releases).

You haven’t given enough information to troubleshoot your issue. So you need to follow the instructions in the installation docs, and if you run into an issue you will need to explain all the steps you took, which method for installing you were using, and the error messages you get. And you will need to do this for one installation method at a time. 🙂

---

<div class="post-metadata">

**Author:** ![nishant](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nishant/32/3925_2.png) [@nishant](https://discourse.gohugo.io/u/nishant)\
**Post date:** [August 20, 2017, 4:29am UTC](https://discourse.gohugo.io/t/cant-get-latest-version-of-hugo/8038/3 "2017-08-20T04:29:01Z")

</div>

hey there,  
The problem is, if i use apt-get OR download a tarball, its installing version 0.16 for some reason and not the latest one.

I just tried “snap install hugo”. That seems to be installed 0.26. But now I am getting permission errors. Can you please let me know which directories i can use to make the site if its installed via snap?

---

<div class="post-metadata">

**Author:** ![nishant](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nishant/32/3925_2.png) [@nishant](https://discourse.gohugo.io/u/nishant)\
**Post date:** [August 20, 2017, 12:01pm UTC](https://discourse.gohugo.io/t/cant-get-latest-version-of-hugo/8038/4 "2017-08-20T12:01:10Z")

</div>

-update  
I got hugo installed using “snap”. Still not sure why apt-get would install older version.

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [August 20, 2017, 5:55pm UTC](https://discourse.gohugo.io/t/cant-get-latest-version-of-hugo/8038/5 "2017-08-20T17:55:48Z")

</div>

> [@nishant](#):
>
> Still not sure why apt-get would install older version.

If you’re on Ubuntu the official repositories are maintained by Canonical.

On Debian Unstable, there is Hugo 0.25.1 that is a fairly recent version. See this thread:

> [@Hugo v0.24 Ubuntu Server 17.04 - Error: exec: "nano": executable file not found in $PATH](https://discourse.gohugo.io/t/hugo-v0-24-ubuntu-server-17-04-error-exec-nano-executable-file-not-found-in-path/7145/10):
>
> Hugo 0.25.1 has finally landed in Debian! See [https://packages.debian.org/sid/hugo](https://packages.debian.org/sid/hugo), or use apt-get update && apt-get install hugo to install it, if you are using Debian sid. Ubuntu “artful” (the future 17.10) users should see it soon too. Special thanks to Debian Developer Dr. Tobias Quathamer who has packaged up Hugo’s new dependencies such as golang-golang-x-image and golang-github-chaseadamsio-goorgeous. He has saved me a lot of work in getting the new package ready for Debian sid/buster…

Also read the previous replies of the linked thread as there is a limitation with the Hugo snap that you probably need to know.

---

<div class="post-metadata">

**Author:** ![anthonyfok](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/anthonyfok/32/106_2.png) [@anthonyfok](https://discourse.gohugo.io/u/anthonyfok)\
**Post date:** [September 25, 2017, 11:33pm UTC](https://discourse.gohugo.io/t/cant-get-latest-version-of-hugo/8038/6 "2017-09-25T23:33:37Z")

</div>

Just a quick follow up:

The Debian packaging of Hugo 0.28 (was 0.26, 0.27 and 0.27.1) is delayed because one of the newer dependencies, namely, golang-github-jdkato-prose, is pending manual review by the Debian FTP masters.

It was my fault because my initial upload was missing some important copyright information, and so the Debian FTP masters had to reject my first upload. However, there must be a major backlog of new packages as they still haven’t had the time to review my second upload.

As for @nishant: Unless you are running the very latest Ubuntu-in-development, i.e. the future 17.10 (artful), you are unlikely to get the latest Hugo version by running `apt-get install hugo`. See [http://packages.ubuntu.com/hugo](http://packages.ubuntu.com/hugo)

(I bet you are running Ubuntu 16.04LTS “xenial” where Hugo 0.15+git20160206.203.ed23711-1 corresponds to the Hugo 0.16-DEV that you are seeing.)

You are welcome to download the version currently packaged for the future Ubuntu 17.10 “artful” manually, which would get you Hugo 0.25.1-2.
