mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
41bc6f702a
2c0125b52 Remove .Site.Author 2cf8841b3 Update partialCached.md (#1924) 385487191 Update data-templates.md (#1926) ce207e141 Remove redundant markdown and fix a few typos (#1936) 3687c2953 Make heading id linkable, take 2 45c79bea7 Make heading id linkable b22079344 Delete duplicates the lines 557-569 and 570-582. (#1934) 0a90dc122 Rework the taxonomy variables page (#1935) 7f8979c50 Update theme 26e682a3a Update multilingual.md d40e7693f Update postcss.md 375d75c01 Update postcss npm instructions (#1931) 63020094a Emphasize Window shell selection (#1930) 56824be2c Update configuration.md b7b8f16b3 Docu 'Theme components': minor fix (#1929) 09dc81a05 Remove Docker from BSD page (#1927) 205fea204 netlify: Hugo 0.108.0 6abe49c28 Merge commit 'da670c38ee63a7fef25e2b9f42519232055b60dc' 12b59a4c5 docs: Add basic doc for wrapStandAloneImageWithinParagraph etc. ba07bd970 dartsass: Add sourceMapIncludeSources option git-subtree-dir: docs git-subtree-split: 2c0125b5290494d49334606c451446ebd9df3c21
75 lines
1.8 KiB
Markdown
75 lines
1.8 KiB
Markdown
---
|
|
title: BSD
|
|
linkTitle: BSD
|
|
description: Install Hugo on BSD derivatives.
|
|
categories: [installation]
|
|
menu:
|
|
docs:
|
|
parent: installation
|
|
weight: 50
|
|
toc: true
|
|
weight: 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].
|
|
|
|
[latest release]: https://github.com/gohugoio/hugo/releases/latest
|
|
|
|
### DragonFly BSD
|
|
|
|
[DragonFly BSD] includes Hugo in its package repository. This will 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. This will install the extended edition of Hugo:
|
|
|
|
```sh
|
|
sudo pkg install gohugo
|
|
```
|
|
|
|
[FreeBSD]: https://www.freebsd.org/
|
|
|
|
### NetBSD
|
|
|
|
[NetBSD] includes Hugo in its package repository. This will 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/
|
|
|
|
{{% readfile file="/installation/common/05-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:
|