add openbsd howto install

This commit is contained in:
wondratsch 2018-06-25 10:54:02 +02:00 committed by Kaushal Modi
parent 39808f50ad
commit 4be1052024

View File

@ -1,7 +1,7 @@
--- ---
title: Install Hugo title: Install Hugo
linktitle: 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 date: 2016-11-01
publishdate: 2016-11-01 publishdate: 2016-11-01
lastmod: 2018-01-02 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 * macOS (Darwin) for x64, i386, and ARM architectures
* Windows * Windows
* Linux * Linux
* OpenBSD
* FreeBSD * 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. 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.
@ -468,6 +469,14 @@ sudo dnf install hugo
See the [related discussion in the Hugo forums][redhatforum]. 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 ## 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. Upgrading Hugo is as easy as downloading and replacing the executable youve placed in your `PATH` or run `brew upgrade hugo` if using Homebrew.