Merge commit '7125ad401ad043e46262afc7eca8dceb6d54bb9e'

This commit is contained in:
Bjørn Erik Pedersen
2024-01-26 08:22:42 +01:00
141 changed files with 904 additions and 813 deletions

View File

@@ -7,7 +7,7 @@
To build the extended edition of Hugo from source you must:
1. Install [Git]
1. Install [Go] version 1.19 or later
1. Install [Go] version 1.20 or later
1. Install a C compiler, either [GCC] or [Clang]
1. Update your `PATH` environment variable as described in the [Go documentation]

View File

@@ -4,7 +4,7 @@
### Homebrew
[Homebrew] is a free and open-source package manager for macOS and Linux. This will install the extended edition of Hugo:
[Homebrew] is a free and open-source package manager for macOS and Linux. To install the extended edition of Hugo:
```sh
brew install hugo

View File

@@ -24,7 +24,7 @@ Most BSD derivatives maintain a repository for commonly installed applications.
### DragonFly BSD
[DragonFly BSD] includes Hugo in its package repository. This will install the extended edition of Hugo:
[DragonFly BSD] includes Hugo in its package repository. To install the extended edition of Hugo:
```sh
sudo pkg install gohugo
@@ -34,7 +34,7 @@ sudo pkg install gohugo
### FreeBSD
[FreeBSD] includes Hugo in its package repository. This will install the extended edition of Hugo:
[FreeBSD] includes Hugo in its package repository. To install the extended edition of Hugo:
```sh
sudo pkg install gohugo
@@ -44,7 +44,7 @@ sudo pkg install gohugo
### NetBSD
[NetBSD] includes Hugo in its package repository. This will install the extended edition of Hugo:
[NetBSD] includes Hugo in its package repository. To install the extended edition of Hugo:
```sh
sudo pkgin install go-hugo

View File

@@ -24,7 +24,7 @@ toc: true
The Hugo snap package is [strictly confined]. Strictly confined snaps run in complete isolation, up to a minimal access level thats deemed always safe. The sites you create and build must be located within your home directory, or on removable media.
This will install the extended edition of Hugo:
To install the extended edition of Hugo:
```sh
sudo snap install hugo
@@ -55,14 +55,26 @@ sudo snap disconnect hugo:ssh-keys
Most Linux distributions maintain a repository for commonly installed applications.
{{% note %}}
Due to Long Term Release (LTR) guidelines, most Linux package repositories will not contain the [latest release].
The Hugo version available in package repositories varies based on Linux distribution and release, and in some cases will not be the [latest version].
[latest release]: https://github.com/gohugoio/hugo/releases/latest
Use one of the other installation methods if your package repository does not provide the desired version.
[latest version]: https://github.com/gohugoio/hugo/releases/latest
{{% /note %}}
### Alpine Linux
To install the extended edition of Hugo on [Alpine Linux]:
```sh
doas apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community hugo
```
[Alpine Linux]: https://alpinelinux.org/
### Arch Linux
Derivatives of the [Arch Linux] distribution of Linux include [EndeavourOS], [Garuda Linux], [Manjaro], and others. This will install the extended edition of Hugo:
Derivatives of the [Arch Linux] distribution of Linux include [EndeavourOS], [Garuda Linux], [Manjaro], and others. To install the extended edition of Hugo:
```sh
sudo pacman -S hugo
@@ -75,7 +87,7 @@ sudo pacman -S hugo
### Debian
Derivatives of the [Debian] distribution of Linux include [elementary OS], [KDE neon], [Linux Lite], [Linux Mint], [MX Linux], [Pop!_OS], [Ubuntu], [Zorin OS], and others. This will install the extended edition of Hugo:
Derivatives of the [Debian] distribution of Linux include [elementary OS], [KDE neon], [Linux Lite], [Linux Mint], [MX Linux], [Pop!_OS], [Ubuntu], [Zorin OS], and others. To install the extended edition of Hugo:
```sh
sudo apt install hugo
@@ -95,7 +107,7 @@ You can also download Debian packages from the [latest release] page.
### Fedora
Derivatives of the [Fedora] distribution of Linux include [CentOS], [Red Hat Enterprise Linux], and others. This will install the extended edition of Hugo:
Derivatives of the [Fedora] distribution of Linux include [CentOS], [Red Hat Enterprise Linux], and others. To install the extended edition of Hugo:
```sh
sudo dnf install hugo
@@ -105,9 +117,30 @@ sudo dnf install hugo
[Fedora]: https://getfedora.org/
[Red Hat Enterprise Linux]: https://www.redhat.com/
### Gentoo
Derivatives of the [Gentoo] distribution of Linux include [Calculate Linux], [Funtoo], and others. Follow the instructions below to install the extended edition of Hugo:
1. Specify the `extended` [USE] flag in /etc/portage/package.use/hugo:
```text
www-apps/hugo extended
```
2. Build using the Portage package manager:
```sh
sudo emerge www-apps/hugo
```
[Calculate Linux]: https://www.calculate-linux.org/
[Funtoo]: https://www.funtoo.org/
[Gentoo]: https://www.gentoo.org/
[USE]: https://packages.gentoo.org/packages/www-apps/hugo
### openSUSE
Derivatives of the [openSUSE] distribution of Linux include [GeckoLinux], [Linux Karmada], and others. This will install the extended edition of Hugo:
Derivatives of the [openSUSE] distribution of Linux include [GeckoLinux], [Linux Karmada], and others. To install the extended edition of Hugo:
```sh
sudo zypper install hugo
@@ -119,7 +152,7 @@ sudo zypper install hugo
### Solus
The [Solus] distribution of Linux includes Hugo in its package repository. This will install the _standard_ edition of Hugo:
The [Solus] distribution of Linux includes Hugo in its package repository. To install the extended edition of Hugo:
```sh
sudo eopkg install hugo

View File

@@ -22,7 +22,7 @@ toc: true
### MacPorts
[MacPorts] is a free and open-source package manager for macOS. This will install the extended edition of Hugo:
[MacPorts] is a free and open-source package manager for macOS. To install the extended edition of Hugo:
```sh
sudo port install hugo

View File

@@ -10,6 +10,11 @@ menu:
weight: 40
toc: true
---
{{% note %}}
Hugo v0.121.1 and later require at least Windows 10 or Windows Server 2016.
{{% /note %}}
{{% include "installation/_common/01-editions.md" %}}
{{% include "installation/_common/02-prerequisites.md" %}}
@@ -20,7 +25,7 @@ toc: true
### Chocolatey
[Chocolatey] is a free and open-source package manager for Windows. This will install the extended edition of Hugo:
[Chocolatey] is a free and open-source package manager for Windows. To install the extended edition of Hugo:
```sh
choco install hugo-extended
@@ -30,7 +35,7 @@ choco install hugo-extended
### Scoop
[Scoop] is a free and open-source package manager for Windows. This will install the extended edition of Hugo:
[Scoop] is a free and open-source package manager for Windows. To install the extended edition of Hugo:
```sh
scoop install hugo-extended
@@ -40,7 +45,7 @@ scoop install hugo-extended
### Winget
[Winget] is Microsoft's official free and open-source package manager for Windows. This will install the extended edition of Hugo:
[Winget] is Microsoft's official free and open-source package manager for Windows. To install the extended edition of Hugo:
```sh
winget install Hugo.Hugo.Extended