Skip to content

Commit e11f236

Browse files
authored
Clarify easy install script samples for all platforms (#37)
* Clarify easy install script samples for all platforms * Upgrade version * Link codenames supported
1 parent 4a0b0bf commit e11f236

File tree

3 files changed

+71
-18
lines changed

3 files changed

+71
-18
lines changed

docs/de/user/gettingstarted/Linux.md

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,55 @@ curl -sSL https://releases.hyperion-project.org/install | bash -s -- --remove
3131

3232
:::
3333

34-
::: details Andere Distributionen basierend auf Ubuntu oder Debian
34+
::: details <span class="icon-text">Andere Distributionen basierend auf Ubuntu oder Debian</span>
3535

36-
Das gleiche einfache Installationsskript kann verwendet werden, aber der Codename der zugrunde liegenden Distribution muss durch eine zusätzliche Option angegeben werden
36+
Das gleiche einfache Installationsskript kann verwendet werden, aber der Codename der zugrunde liegenden Distribution muss durch eine zusätzliche Option angegeben werden.
37+
[Übersicht der unterstützen Codenames](https://github.com/hyperion-project/hyperion.releases-ci/blob/main/debian/distributions)
3738

38-
`--ubuntu` _codebase name_ oder `--debian` _codebase name_
39+
`--ubuntu` _codename_ oder `--debian` _codename_
3940

4041
Beispiel für Pop!_OS 22.04 LTS oder Mint 21.2 Victoria (die auf Ubuntu 'jammy' basieren)
4142

42-
```sh:no-line-numbers
43+
::: code-group
44+
45+
``` sh:no-line-numbers [Stabile Version]
4346
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --ubuntu 'jammy'
4447
```
48+
49+
``` sh:no-line-numbers [ <div class="icon-text">Nightly release<div class="icon-color icon-16" v-html="nightly"/></div> ]
50+
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --ubuntu 'jammy' --nightly
51+
```
52+
53+
``` sh:no-line-numbers [ <div class="icon-text">Deinstallieren<div class="icon-color icon-16" v-html="uninstall"/></div> ]
54+
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --ubuntu 'jammy' --remove
55+
```
56+
4557
:::
4658

47-
::: details <div class="icon-text">LibreELEC<div class="icon-color icon-16" v-html="libreelec"/></div>
59+
::: details <span class="icon-text">LibreELEC<div class="icon-color icon-16" v-html="libreelec"/></span>
4860

4961
Das gleiche einfache Installationsskript kann verwendet werden, aber besondere Aufmerksamkeit ist erforderlich, wenn eine Version aktualisiert werden soll.
5062

5163
Wenn Du ein Upgrade durchführen möchtest, sind die folgenden zwei Schritte erforderlich, da LibreELEC keine Pakete oder damit verbundene Upgrades unterstützt:
5264

53-
1. Entfernen die aktuelle Version mit dem 'Deinstallieren' Befehl, siehe oben:
65+
1. Entfernen die aktuelle Version
66+
67+
``` sh:no-line-numbers [ <div class="icon-text">Deinstallieren<div class="icon-color icon-16" v-html="uninstall"/></div> ]
68+
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --remove
69+
```
70+
71+
1. Installiere die neueste Version
72+
73+
::: code-group
74+
75+
``` sh:no-line-numbers [Stabile Version]
76+
curl -sSL https://releases.hyperion-project.org/install | bash
77+
```
78+
79+
``` sh:no-line-numbers [ <div class="icon-text">Nightly release<div class="icon-color icon-16" v-html="nightly"/></div> ]
80+
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --nightly
81+
```
5482

55-
2. Installiere die neueste Version, siehe oben.
5683

5784
:::
5885

@@ -251,7 +278,7 @@ import libreelec from '/icons/svg/libreelec.svg?raw'
251278
}
252279

253280
.icon-text {
254-
display: flex;
281+
display: inline-flex;
255282
justify-content: flex-start;
256283
gap: .5rem;
257284
align-items: center;

docs/user/gettingstarted/Linux.md

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,55 @@ curl -sSL https://releases.hyperion-project.org/install | bash -s -- --remove
3131

3232
:::
3333

34-
::: details Other distributions based on Ubuntu or Debian
34+
::: details <span class="icon-text">Other distributions based on Ubuntu or Debian</span>
3535

36-
The same easy installation script can be used, but the underlying distribution codename needs to be provided by an additional option
36+
The same easy installation script can be used, but the underlying distribution codename needs to be provided by an additional option.
37+
[Overview of codenames supported](https://github.com/hyperion-project/hyperion.releases-ci/blob/main/debian/distributions)
3738

38-
`--ubuntu` _codebase name_ or `--debian` _codebase name_
39+
`--ubuntu` _codename_ or `--debian` _codename_
3940

40-
Sample for Pop!_OS 22.04 LTS or Mint 21.2 Victoria (which are based on Ubuntu 'jammy')
41+
Samples for Pop!_OS 22.04 LTS or Mint 21.2 Victoria (which are based on Ubuntu 'jammy')
4142

42-
``` sh:no-line-numbers
43+
::: code-group
44+
45+
``` sh:no-line-numbers [Stable release]
4346
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --ubuntu 'jammy'
4447
```
4548

49+
``` sh:no-line-numbers [ <div class="icon-text">Nightly release<div class="icon-color icon-16" v-html="nightly"/></div> ]
50+
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --ubuntu 'jammy' --nightly
51+
```
52+
53+
``` sh:no-line-numbers [ <div class="icon-text">Uninstall<div class="icon-color icon-16" v-html="uninstall"/></div> ]
54+
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --ubuntu 'jammy' --remove
55+
```
56+
4657
:::
4758

48-
::: details <div class="icon-text">LibreELEC<div class="icon-color icon-16" v-html="libreelec"/></div>
59+
::: details <span class="icon-text">LibreELEC<div class="icon-color icon-16" v-html="libreelec"/></span>
4960

5061
The same easy installation script can be used, but special attention is required when upgrading a version.
5162

5263
If you wish to upgrade, the following two steps are required, as LibreELEC does not support packages or related upgrades:
5364

54-
1. Remove the current version using the 'Uninstall' command above.
65+
1. Remove the current version
5566

56-
2. Install the latest version, see above.
67+
``` sh:no-line-numbers [ <div class="icon-text">Uninstall<div class="icon-color icon-16" v-html="uninstall"/></div> ]
68+
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --remove
69+
```
70+
71+
72+
2. Install the latest version
73+
74+
::: code-group
75+
76+
``` sh:no-line-numbers [Stable release]
77+
curl -sSL https://releases.hyperion-project.org/install | bash
78+
```
79+
80+
``` sh:no-line-numbers [ <div class="icon-text">Nightly release<div class="icon-color icon-16" v-html="nightly"/></div> ]
81+
curl -sSL https://releases.hyperion-project.org/install | bash -s -- --nightly
82+
```
5783

5884
:::
5985

@@ -252,7 +278,7 @@ import libreelec from '/icons/svg/libreelec.svg?raw'
252278
}
253279

254280
.icon-text {
255-
display: flex;
281+
display: inline-flex;
256282
justify-content: flex-start;
257283
gap: .5rem;
258284
align-items: center;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"devDependencies": {
1414
"@red-asuka/vitepress-plugin-tabs": "^0.0.4",
1515
"@types/node": "latest",
16-
"vitepress": "^1.6.3",
16+
"vitepress": "^1.6.4",
1717
"vue3-tabs-component": "^1.3.7"
1818
},
1919
"dependencies": {

0 commit comments

Comments
 (0)