# Hugo 0.48 will be \>= Go 1.11 Only

**URL:** <https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826>\
**Category:** Announcements\
**Created:** [August 25, 2018, 5:29pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826 "2018-08-25T17:29:08Z")\
**Posts on this page:** 8\
**Page:** 2

<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:** [August 28, 2018, 7:42pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826/21 "2018-08-28T19:42:39Z")

</div>

> [@kaushalmodi](#):
>
> You mean `mage install` , right? So bef

No, I meant `go install` (I have corrected my “guide”).

---

<div class="post-metadata">

**Author:** ![yarko](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/yarko/32/664_2.png) [@yarko](https://discourse.gohugo.io/u/yarko)\
**Post date:** [August 28, 2018, 8:09pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826/22 "2018-08-28T20:09:52Z")

</div>

## Ok - thanks for all your suggestions. It doesn’t seem to matter if I run w/ @kaushalmodi’s suggestion, of @bep’s - this result is the same in both cases (and same as before):

```auto
yarko:~/workspace/gohugo/hugo$ go install
# runtime
/usr/local/go/src/runtime/map.go:64:2: bucketCntBits redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:64:18
/usr/local/go/src/runtime/map.go:65:2: bucketCnt redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:65:23
/usr/local/go/src/runtime/map.go:69:2: loadFactorNum redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:69:18
/usr/local/go/src/runtime/map.go:70:2: loadFactorDen redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:70:18
/usr/local/go/src/runtime/map.go:76:2: maxKeySize redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:76:17
/usr/local/go/src/runtime/map.go:77:2: maxValueSize redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:77:17
/usr/local/go/src/runtime/map.go:82:2: dataOffset redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:85:4
/usr/local/go/src/runtime/map.go:91:2: empty redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:91:19
/usr/local/go/src/runtime/map.go:92:2: evacuatedEmpty redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:92:19
/usr/local/go/src/runtime/map.go:93:2: evacuatedX redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:93:19
/usr/local/go/src/runtime/map.go:93:2: too many errors
yarko:~/workspace/gohugo/hugo$

```

---

<div class="post-metadata">

**Author:** ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)\
**Post date:** [August 28, 2018, 8:15pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826/23 "2018-08-28T20:15:30Z")

</div>

> [@yarko](#):
>
> /usr/local/go/src/runtime/map.go:64:2: bucketCntBits redeclared in this block

Googling for that error gives few hits. One of them is [GitHub · Where software is built](https://github.com/kataras/iris/issues/1049).

See if that or any of other search hits for that error have an answer for you.

---

<div class="post-metadata">

**Author:** ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)\
**Post date:** [August 28, 2018, 8:19pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826/24 "2018-08-28T20:19:15Z")

</div>

Also, how did you update `go`? The best way (and has always worked for me) is to:

1. Download the latest archive from [https://golang.org/dl/](https://golang.org/dl/).
2. `rm -rf ~/go` (where I had the older version installed)
3. Extract that archive (you will get a `go/` dir out of it) and move that `go/` dir to `~/go`.
4. I have set `GOROOT` to `~/go` and `GOPATH` to `~/go.apps`.

---

<div class="post-metadata">

**Author:** ![yarko](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/yarko/32/664_2.png) [@yarko](https://discourse.gohugo.io/u/yarko)\
**Post date:** [August 28, 2018, 8:20pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826/25 "2018-08-28T20:20:24Z")

</div>

Yes - I’d already tried this…  
I suppose I can clear out my go install (`/usr/local/go`) and do a completely clean install of _go-1.11_

I’ll try that later today.

---

<div class="post-metadata">

**Author:** ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)\
**Post date:** [August 28, 2018, 8:21pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826/26 "2018-08-28T20:21:16Z")

</div>

> [@yarko](#):
>
> I suppose I can clear out my go install (/usr/localgo) and do a completely clean install of go-1.11

Ah! So you didn’t do a clean install… I guess that would cause that issue 🙂

---

<div class="post-metadata">

**Author:** ![yarko](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/yarko/32/664_2.png) [@yarko](https://discourse.gohugo.io/u/yarko)\
**Post date:** [August 28, 2018, 8:22pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826/27 "2018-08-28T20:22:52Z")

</div>

if so, that would be the first time since ? 1.6 or so;

Cleaning out ~/go … is more work, since i have built things there I use. I can move it, and fix that, but… no time for that kind of baby-sitting work at the moment. Later. I’ll ping w/ results later, when I get back to it.

---

<div class="post-metadata">

**Author:** ![yarko](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/yarko/32/664_2.png) [@yarko](https://discourse.gohugo.io/u/yarko)\
**Post date:** [August 28, 2018, 9:19pm UTC](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826/28 "2018-08-28T21:19:58Z")

</div>

Ok - wiping out `/usr/local/go` and doing a fresh install there is what it took (I did not need to wipe out my `~/go`).

Following that, `go install` from the cloned `github` directory just worked. (also worked on a fresh `~/go`, but that was not necessary).

Thanks for all your pointers!

[Previous page](https://discourse.gohugo.io/t/hugo-0-48-will-be-go-1-11-only/13826.md?page=1)
