This commit is contained in:
Bjørn Erik Pedersen 2018-07-18 11:05:58 +02:00
commit 59ebc83d72
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
106 changed files with 307 additions and 279 deletions

View file

@ -1,7 +1,7 @@
---
title: Install Hugo
linktitle: Install Hugo
description: Install Hugo on macOS, Windows, Linux, FreeBSD, and on any machine where the Go compiler tool chain can run.
description: Install Hugo on macOS, Windows, Linux, OpenBSD, FreeBSD, and on any machine where the Go compiler tool chain can run.
date: 2016-11-01
publishdate: 2016-11-01
lastmod: 2018-01-02
@ -31,6 +31,7 @@ Hugo currently provides pre-built binaries for the following:
* macOS (Darwin) for x64, i386, and ARM architectures
* Windows
* Linux
* OpenBSD
* FreeBSD
Hugo may also be compiled from source wherever the Go compiler tool chain can run; e.g., on other operating systems such as DragonFly BSD, OpenBSD, Plan&nbsp;9, Solaris, and others. See <https://golang.org/doc/install/source> for the full set of supported combinations of target operating systems and compilation architectures.
@ -451,7 +452,7 @@ Hugo-as-a-snap can write only inside the users `$HOME` directory---and gvfs-m
You can also install Hugo from the Arch Linux [community](https://www.archlinux.org/packages/community/x86_64/hugo/) repository. Applies also for derivatives such as Manjaro.
```
sudo pacman -Sy hugo
sudo pacman -Syu hugo
```
### Fedora
@ -468,6 +469,14 @@ sudo dnf install hugo
See the [related discussion in the Hugo forums][redhatforum].
## OpenBSD
OpenBSD provides a package for Hugo via `pkg_add`:
```
doas pkg_add hugo
```
## Upgrade Hugo
Upgrading Hugo is as easy as downloading and replacing the executable youve placed in your `PATH` or run `brew upgrade hugo` if using Homebrew.