# \[SOLVED\] Installing from source (doubt in documentation)

**URL:** <https://discourse.gohugo.io/t/solved-installing-from-source-doubt-in-documentation/6783>\
**Category:** support\
**Created:** [May 30, 2017, 1:24pm UTC](https://discourse.gohugo.io/t/solved-installing-from-source-doubt-in-documentation/6783 "2017-05-30T13:24:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jibinjose](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@jibinjose](https://discourse.gohugo.io/u/jibinjose)\
**Post date:** [May 30, 2017, 1:24pm UTC](https://discourse.gohugo.io/t/solved-installing-from-source-doubt-in-documentation/6783/1 "2017-05-30T13:24:04Z")

</div>

For installing from source [documentation](http://gohugo.io/overview/installing/#installing-from-source) says try

```
go get github.com/kardianos/govendor
govendor get github.com/spf13/hugo

```

But don’t we have to add also ?

```
 go install github.com/spf13/hugo
```

---

<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 30, 2017, 1:28pm UTC](https://discourse.gohugo.io/t/solved-installing-from-source-doubt-in-documentation/6783/2 "2017-05-30T13:28:13Z")

</div>

No, the “get” part includes the install.

---

<div class="post-metadata">

**Author:** ![jibinjose](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@jibinjose](https://discourse.gohugo.io/u/jibinjose)\
**Post date:** [May 31, 2017, 6:45am UTC](https://discourse.gohugo.io/t/solved-installing-from-source-doubt-in-documentation/6783/3 "2017-05-31T06:45:44Z")

</div>

@bep  
I am using Ubuntu 16.04.2 LTS, go1.8.1 linux/amd64, govender v1.0.8.  
And I got the error like command not found when I type hugo. After doing

```
go install github.com/spf13/hugo

```

it worked.

got it from Hugo docs [https://gohugo.io/getting-started/installing/#fetching-from-github](https://gohugo.io/getting-started/installing/#fetching-from-github).
