diff --git a/content/getting-started/installing.md b/content/getting-started/installing.md index d7d79ef9c..3fc5f9bed 100644 --- a/content/getting-started/installing.md +++ b/content/getting-started/installing.md @@ -412,12 +412,24 @@ C:\Hugo\Sites\example.com>dir ## Linux -### Debian and Ubuntu +### Snap Package -In any of the [Linux distributions that support snaps](https://snapcraft.io/docs/core/install): +In any of the [Linux distributions that support snaps][snaps]: ``` -sudo apt install hugo +snap install hugo +``` + +{{% note %}} +Hugo-as-a-snap can write only inside the user’s `$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/gohugoio/hugo/issues/3143). +{{% /note %}} + +### Debian and Ubuntu + +Debian and Ubuntu provide a `hugo` version via `apt-get`: + +``` +sudo apt-get install hugo ``` #### Pros @@ -427,7 +439,7 @@ sudo apt install hugo #### Cons -* 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. +* 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. ### Arch @@ -447,17 +459,6 @@ yaourt -S hugo See the [related discussion in the Hugo forums][redhatforum]. -### Snap Package - -In any of the [Linux distributions that support snaps][snaps]: - -``` -snap install hugo -``` - -{{% note %}} -Hugo-as-a-snap can write only inside the user’s `$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/gohugoio/hugo/issues/3143). -{{% /note %}} ## Upgrade Hugo diff --git a/themes/gohugoioTheme b/themes/gohugoioTheme index d0445e2ad..a12544f00 160000 --- a/themes/gohugoioTheme +++ b/themes/gohugoioTheme @@ -1 +1 @@ -Subproject commit d0445e2ad6bcffcbfa305650dd66e308543bcfdc +Subproject commit a12544f00e3f50450eae1c1108c71eefb71f327f