hugo/docs/content/en/installation/bsd.md
Bjørn Erik Pedersen 5fd1e74903
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
```
git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash
```

Closes #11925
2024-01-27 10:48:57 +01:00

1.8 KiB

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

{{% include "installation/_common/01-editions.md" %}}

{{% include "installation/_common/02-prerequisites.md" %}}

{{% include "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. To install the extended edition of Hugo:

sudo pkg install gohugo

FreeBSD

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

sudo pkg install gohugo

NetBSD

NetBSD includes Hugo in its package repository. To 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

{{% include "installation/_common/04-build-from-source.md" %}}

Comparison

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