hugo/docs/content/en/installation/bsd.md
2022-11-17 16:16:19 +01:00

2 KiB

title linkTitle description categories menu toc weight
BSD BSD Install Hugo on BSD derivatives.
installation
docs
parent weight
installation 50
true 50

{{% readfile file="/installation/common/01-editions.md" %}}

{{% readfile file="/installation/common/02-prerequisites.md" %}}

{{% readfile file="/installation/common/03-prebuilt-binaries.md" %}}

Repository packages

Most BSD derivatives maintain a repository for commonly installed applications. Please note that these repositories may not contain the latest release.

DragonFly BSD

DragonFly BSD includes Hugo in its package repository. This will install the extended edition of Hugo:

sudo pkg install gohugo

FreeBSD

FreeBSD includes Hugo in its package repository. This will install the extended edition of Hugo:

sudo pkg install gohugo

NetBSD

NetBSD includes Hugo in its package repository. This will install the extended edition of Hugo:

sudo pkgin install go-hugo

OpenBSD

OpenBSD includes Hugo in its package repository. This will prompt you to select which edition of Hugo to install:

doas pkg_add hugo

{{% readfile file="/installation/common/04-docker.md" %}}

{{% readfile file="/installation/common/05-build-from-source.md" %}}

Comparison

Prebuilt binaries Repository packages Docker Build from source
Easy to install? ✔️ ✔️ ✔️ ✔️
Easy to upgrade? ✔️ varies ✔️ ✔️
Easy to downgrade? ✔️ varies ✔️ ✔️
Automatic updates? varies 1
Latest version available? ✔️ varies ✔️ ✔️

  1. Possible but requires advanced configuration. ↩︎