Update installation instruction on Linux distros

per @anthonyfok's recommendations
This commit is contained in:
Ryan Watters 2017-03-13 16:03:50 -05:00
parent b86668262a
commit 2704a4ce7f

View File

@ -418,7 +418,7 @@ C:\Hugo\Sites\example.com>dir
## <i class="icon-linux"></i>Linux
### Debian/Ubuntu and Arch
### Debian/Ubuntu
Hugo has been included in Debian and Ubuntu since 2016 and can be installed as a traditional `.deb` package via `apt`:
@ -435,6 +435,8 @@ sudo apt install hugo
* Might not be the latest version, especially if you are using an older, stable version (e.g., Ubuntu 16.04 LTS). Until backports and PPA are available, you may consider installing the Hugo snap package to get the latest version of Hugo, as described below.
### Arch
You can also install Hugo from the [Arch user repository](https://aur.archlinux.org/) on Arch Linux or derivatives such as Manjaro.
Be aware that Hugo is built from source. This means that additional tools like [Git](https://git-scm.com) and [Go](https://golang.org/doc/install) will be installed as well.
@ -453,7 +455,7 @@ snap install hugo
```
{{% note %}}
Hugo-as-a-snap can write only inside the users `$HOME `directory---and gvfs-mounted directories owned by the user---because of Snaps confinement and security model. More information is also available [in this related GitHub issue](https://github.com/spf13/hugo/issues/3143).
Hugo-as-a-snap can write only inside the users `$HOME` directory---and gvfs-mounted directories owned by the user---because of Snaps confinement and security model. More information is also available [in this related GitHub issue](https://github.com/spf13/hugo/issues/3143).
{{% /note %}}
## Upgrading Hugo