mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
This commit is contained in:
75
docs/content/en/installation/bsd.md
Normal file
75
docs/content/en/installation/bsd.md
Normal file
@@ -0,0 +1,75 @@
|
||||
---
|
||||
title: BSD
|
||||
description: Install Hugo on BSD derivatives.
|
||||
categories: [installation]
|
||||
keywords: []
|
||||
menu:
|
||||
docs:
|
||||
parent: installation
|
||||
weight: 50
|
||||
weight: 50
|
||||
toc: 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].
|
||||
|
||||
[latest release]: https://github.com/gohugoio/hugo/releases/latest
|
||||
|
||||
### DragonFly BSD
|
||||
|
||||
[DragonFly BSD] includes Hugo in its package repository. To install the extended edition of Hugo:
|
||||
|
||||
```sh
|
||||
sudo pkg install gohugo
|
||||
```
|
||||
|
||||
[DragonFly BSD]: https://www.dragonflybsd.org/
|
||||
|
||||
### FreeBSD
|
||||
|
||||
[FreeBSD] includes Hugo in its package repository. To install the extended edition of Hugo:
|
||||
|
||||
```sh
|
||||
sudo pkg install gohugo
|
||||
```
|
||||
|
||||
[FreeBSD]: https://www.freebsd.org/
|
||||
|
||||
### NetBSD
|
||||
|
||||
[NetBSD] includes Hugo in its package repository. To install the extended edition of Hugo:
|
||||
|
||||
```sh
|
||||
sudo pkgin install go-hugo
|
||||
```
|
||||
|
||||
[NetBSD]: https://www.netbsd.org/
|
||||
|
||||
### OpenBSD
|
||||
|
||||
[OpenBSD] includes Hugo in its package repository. This will prompt you to select which edition of Hugo to install:
|
||||
|
||||
```sh
|
||||
doas pkg_add hugo
|
||||
```
|
||||
|
||||
[OpenBSD]: https://www.openbsd.org/
|
||||
|
||||
{{% include "installation/_common/04-build-from-source.md" %}}
|
||||
|
||||
## Comparison
|
||||
|
||||
||Prebuilt binaries|Repository packages|Build from source
|
||||
:--|:--:|:--:|:--:
|
||||
Easy to install?|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:
|
||||
Easy to upgrade?|:heavy_check_mark:|varies|:heavy_check_mark:
|
||||
Easy to downgrade?|:heavy_check_mark:|varies|:heavy_check_mark:
|
||||
Automatic updates?|:x:|varies|:x:
|
||||
Latest version available?|:heavy_check_mark:|varies|:heavy_check_mark:
|
Reference in New Issue
Block a user