Skip to content

Commit b3a7325

Browse files
committed
Add package repository install instructions page
Add /download/packages/ page with interactive install instructions for RPM, DEB, and SUSE-based Linux distributions. Includes version and OS dropdowns, step-by-step commands, and copy-to-clipboard functionality. Add Packages link under Download nav submenu. Signed-off-by: Evgeniy Patlan <evgeniy.patlan@percona.com>
1 parent 7d1e799 commit b3a7325

3 files changed

Lines changed: 415 additions & 1 deletion

File tree

content/download/packages/index.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
+++
2+
template = "packages.html"
3+
title = "Package Repository"
4+
description = "Install Valkey on Linux using official RPM and DEB packages"
5+
6+
[extra]
7+
repo_url = "https://download.valkey.io/packaging"
8+
gpg_key_url = "https://download.valkey.io/packaging/GPG-KEY-valkey.asc"
9+
10+
versions = ["9.0", "8.1", "8.0"]
11+
12+
[[extra.os_groups]]
13+
label = "RHEL / Oracle Linux"
14+
entries = [
15+
{ value = "el8", name = "Oracle Linux 8 / RHEL 8", type = "rpm", pkg = "dnf" },
16+
{ value = "el9", name = "Oracle Linux 9 / RHEL 9", type = "rpm", pkg = "dnf" },
17+
{ value = "el10", name = "Oracle Linux 10 / RHEL 10", type = "rpm", pkg = "dnf" },
18+
]
19+
20+
[[extra.os_groups]]
21+
label = "Rocky Linux"
22+
entries = [
23+
{ value = "rocky8", name = "Rocky Linux 8", type = "rpm", pkg = "dnf" },
24+
{ value = "rocky9", name = "Rocky Linux 9", type = "rpm", pkg = "dnf" },
25+
{ value = "rocky10", name = "Rocky Linux 10", type = "rpm", pkg = "dnf" },
26+
]
27+
28+
[[extra.os_groups]]
29+
label = "AlmaLinux"
30+
entries = [
31+
{ value = "alma8", name = "AlmaLinux 8", type = "rpm", pkg = "dnf" },
32+
{ value = "alma9", name = "AlmaLinux 9", type = "rpm", pkg = "dnf" },
33+
{ value = "alma10", name = "AlmaLinux 10", type = "rpm", pkg = "dnf" },
34+
]
35+
36+
[[extra.os_groups]]
37+
label = "Amazon Linux"
38+
entries = [
39+
{ value = "amzn2023", name = "Amazon Linux 2023", type = "rpm", pkg = "dnf" },
40+
]
41+
42+
[[extra.os_groups]]
43+
label = "Fedora"
44+
entries = [
45+
{ value = "fedora39", name = "Fedora 39", type = "rpm", pkg = "dnf" },
46+
{ value = "fedora40", name = "Fedora 40", type = "rpm", pkg = "dnf" },
47+
{ value = "fedora41", name = "Fedora 41", type = "rpm", pkg = "dnf" },
48+
]
49+
50+
[[extra.os_groups]]
51+
label = "openSUSE"
52+
entries = [
53+
{ value = "opensuse-15.5", name = "openSUSE Leap 15.5", type = "suse", pkg = "zypper" },
54+
{ value = "opensuse-15.6", name = "openSUSE Leap 15.6", type = "suse", pkg = "zypper" },
55+
]
56+
57+
[[extra.os_groups]]
58+
label = "Debian"
59+
entries = [
60+
{ value = "debian11", name = "Debian 11 (Bullseye)", type = "deb", pkg = "" },
61+
{ value = "debian12", name = "Debian 12 (Bookworm)", type = "deb", pkg = "" },
62+
{ value = "debian13", name = "Debian 13 (Trixie)", type = "deb", pkg = "" },
63+
]
64+
65+
[[extra.os_groups]]
66+
label = "Ubuntu"
67+
entries = [
68+
{ value = "ubuntu2204", name = "Ubuntu 22.04 (Jammy)", type = "deb", pkg = "" },
69+
{ value = "ubuntu2404", name = "Ubuntu 24.04 (Noble)", type = "deb", pkg = "" },
70+
]
71+
+++

templates/default.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@
4343
onclick="window.toggleHeaderMenu();"
4444
></div>
4545
<nav role="navigation" aria-label="Main">
46-
<a role="menuitem" href="/download/">Download</a>
46+
<div class="has-submenu">
47+
<a role="menuitem" href="/download/">Download</a>
48+
<div class="submenu">
49+
<a role="menuitem" href="/download/packages/">Packages</a>
50+
</div>
51+
</div>
4752

4853
<div class="has-submenu">
4954
<a role="menuitem" href="/docs/">Documentation</a>

0 commit comments

Comments
 (0)