pages/matrix: simplify nheko nightly setup by pointing to flathub docs instead

This commit is contained in:
Aminda Suomalainen 2024-03-03 09:13:37 +02:00
parent 1fe221e39b
commit d648662613
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 6 additions and 12 deletions

View File

@ -232,25 +232,19 @@ and if you cannot figure it out, you probably shouldn't be touching it.
#### How can I install Nheko nightly? #### How can I install Nheko nightly?
I use the nightly flatpak which is easy to install for all users as you I use the nightly flatpak which is easy to install for all users as you
just add the nightly repo (3rd command) and install it (5th command). just add the nightly repo and install it. However I am assuming you have
However below there are a few extra steps in case of weird systems: already performed the [Flathub setup](https://flathub.org/setup).
_Note that `#` means a command and it's there just to explain what is being _Note that `#` means a command and it's there just to explain what is being
done, not actually entered into a terminal._ done, not actually entered into a terminal._
```bash ```bash
# The dependency KDE Platform is in Flathub and very clean installations of # Add the Nheko nightly remote onto your system
# flatpak from some distributions may not have it by default...
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# ...or if they have it by default, at least older Fedora versions disable it
# by default.
sudo flatpak remote-modify --enable flathub
# This actually adds the Nheko nightly repo on your system
sudo flatpak remote-add --if-not-exists nheko-nightly https://nheko.im/nheko-reborn/nheko/-/raw/master/nheko-nightly.flatpakrepo sudo flatpak remote-add --if-not-exists nheko-nightly https://nheko.im/nheko-reborn/nheko/-/raw/master/nheko-nightly.flatpakrepo
# If the Nheko flatpak doesn't appear anywhere, this equals `sudo apt update` # If the im.nheko.Nheko flatpak doesn't appear anywhere, this equals
# or `sudo dnf check-update` etc. # `sudo apt update` or `sudo dnf check-update` etc.
sudo flatpak update --appstream sudo flatpak update --appstream
# And this command actually install the nightly flatpak. # And this command will actually install the flatpak.
sudo flatpak install nheko-nightly im.nheko.Nheko --assumeyes sudo flatpak install nheko-nightly im.nheko.Nheko --assumeyes
``` ```