From 4f849289773a0189c5919d88a2e897881d0277b6 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 24 Feb 2024 21:22:22 +0200 Subject: [PATCH] matrix: elaborate nightly nheko installation for weird setups --- pages/matrix.markdown | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pages/matrix.markdown b/pages/matrix.markdown index 2ddb083..6d0cd6c 100644 --- a/pages/matrix.markdown +++ b/pages/matrix.markdown @@ -230,10 +230,26 @@ and if you cannot figure it out, you probably shouldn't be touching it. #### How can I install Nheko nightly? -I use the nightly flatpak which is easy to install for all users: +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). +However below there are a few extra steps in case of weird systems: + +_Note that `#` means a command and it's there just to explain what is being +done, not actually entered into a terminal._ ```bash +# The dependency KDE Platform is in Flathub and very clean installations of +# 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 +# If the Nheko flatpak doesn't appear anywhere, this equals `sudo apt update` +# or `sudo dnf check-update` etc. +sudo flatpak update --appstream +# And this command actually install the nightly flatpak. sudo flatpak install nheko-nightly im.nheko.Nheko --assumeyes ```