Team-Kodi PPA Retired; Ubuntu doesn't support Flatpak, which Linux distro is best?
#16
(2024-04-15, 12:31)Zuzia Wrote:
(2024-03-30, 01:13)oldtvwatcher Wrote:
(2024-03-29, 12:50)otinley Wrote: Debian12 runs Kodi well.
That might be worth a try, thanks!
I also recommend the Debian 12 distribution "bookworm" . Kodi v21 Omega is in the deb-multimedia.org backport: https://www.deb-multimedia.org/dists/sta...ckage/kodi
For me, deb packages are a better solution than Flatpak.
How did you manage to install Kodi v21 using the "bookworm" backport?
I followed the instructions but got a lot of dependency errors and kodi would not install.

Thank you...
Reply
#17
(2024-04-18, 01:09)Tallguy297 Wrote: How did you manage to install Kodi v21 using the "bookworm" backport?
I followed the instructions but got a lot of dependency errors and kodi would not install.
After adding the backpors repository and updating the lists:
Code:
sudo apt-get install --reinstall libass9 libavcodec60 libavfilter9 libavformat60 libavutil58 libbluray2 libcdio19 libcec6 libcrossguid0 libiso9660-11 libpostproc57 libswresample4 libswscale7 libudfread0 -t stable -y

sudo apt-get install kodi -t bookworm-backports -y
Detailed installation instructions for K21 from backports: https://github.com/zuzia-dev/zuzia_srcs/...-141125792
Reply
#18
I'm on Void Linux and had to switch to flatpak version from flathub since the version in the repository was broken.

It's a little bit slower on startup, takes more space cause of the runtime/library overhead, but it works more or less flawlessly. You can change different permissions by command line, the binary addons are included, dvb addons are there (here tvheadend).

One important thing: after updating host system don't forget to update flatpak runtimes! I had the siutation that kodi didn´t work, since gpu driver update made a flatpak gpu library update necessary!
Reply
#19
Also switched to the flatpak, arguably its better than any distro package because it includes tailored/patched up libraries the way kodi devs wanted them. It took me a couple of tries to get it to work in a standalone, desktop -less / x11-less HTPC, once past the installation, it's really flawless. On a little intel N100, you get hardware AV1 decoding, HDR10 etc working out of the box (when using standalone GBM mode)

It includes all the binary addons (you need to enable the ones you want). The only issue I ran into so far is that if you wanted to experiment with Retroplayer gaming, you are out of luck, you can't install any emulation core. In fact the flatpak includes one game with an ad-hoc core that crashes on launch (in N100) perhaps due to kodi running standalone with GBM windowing in my setup, not sure about the latter.

Anyways for retro gaming its probably better to shutdown kodi and launch retroarch or something like that.
Reply
#20
This is an install script for Kodi 21.0 (Omega) for Linux Mint 64-bit version.
When this script is run there will be an initial errors displayed but after adding keyrings there are no more errors.
This script has been tested and works well.

SOURCE CODE:
#!/usr/bin/env bash

## KODI 21.0 INSTALLATION
## GITHUB - https://github.com/zuzia-dev/zuzia_srcs/...-141125792
## SEE https://www.deb-multimedia.org/ for more information
## DEBIAN.ORG KEYRING URL - https://packages.debian.org/sid/all/debi...g/download


## START INSTALLATION ##
history -c
reset
wmctrl -r :ACTIVE: -e 0,50,50,1500,800
echo -e '\033[1;33mInstalling \033[1;34mKODI 21.0 Media Centre\033[0m'

## ADD SOURCES
echo -e 'deb [arch=amd64] https://deb.debian.org/debian/ bookworm non-free non-free-firmware contrib main'>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://deb.debian.org/debian/ bookworm non-free non-free-firmware contrib main'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb [arch=amd64] https://deb.debian.org/debian-security/ bookworm-security main'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://deb.debian.org/debian-security/ bookworm-security main'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb [arch=amd64] https://deb.debian.org/debian-security/ bookworm-security non-free'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://deb.debian.org/debian-security/ bookworm-security non-free'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb [arch=amd64] https://deb.debian.org/debian-security/ bookworm-security non-free-firmware'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://deb.debian.org/debian-security/ bookworm-security non-free-firmware'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb [arch=amd64] https://deb.debian.org/debian-security/ bookworm-security contrib'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://deb.debian.org/debian-security/ bookworm-security contrib'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb [arch=amd64] https://deb.debian.org/debian/ bookworm-updates non-free non-free-firmware contrib main'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://deb.debian.org/debian/ bookworm-updates non-free non-free-firmware contrib main'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb [arch=amd64] https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware\n'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb [arch=amd64] https://www.deb-multimedia.org bookworm main non-free non-free'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://www.deb-multimedia.org bookworm main non-free non-free'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb [arch=amd64] https://www.deb-multimedia.org bookworm-backports main'>>/etc/apt/sources.list.d/kodi21.list
echo -e 'deb-src [arch=amd64] https://www.deb-multimedia.org bookworm-backports main'>>/etc/apt/sources.list.d/kodi21.list

## ADD preferences
echo -e 'Package: *'>/etc/apt/preferences.d/preferences
echo -e 'Pin: origin www.deb-multimedia.org'>>/etc/apt/preferences.d/preferences
echo -e 'Pin-Priority: 99\n'>>/etc/apt/preferences.d/preferences
echo -e 'Package: *'>>/etc/apt/preferences.d/preferences
echo -e 'Pin: release v=10.6,o=Unofficial Multimedia Package'>>/etc/apt/preferences.d/preferences
echo -e 'Pin-Priority: 99\n'>>/etc/apt/preferences.d/preferences
echo -e 'Package: *'>>/etc/apt/preferences.d/preferences
echo -e 'Pin: release o=Debian Backports,a=stable-backports'>>/etc/apt/preferences.d/preferences
echo -e 'Pin-Priority: 99\n'>>/etc/apt/preferences.d/preferences
echo -e 'Package: *'>>/etc/apt/preferences.d/preferences
echo -e 'Pin: release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian'>>/etc/apt/preferences.d/preferences
echo -e 'Pin-Priority: 99'>>/etc/apt/preferences.d/preferences

apt-get -y update -oAcquire::AllowInsecureRepositories=true --allow-unauthenticated

apt-get -y install debian-keyring --allow-unauthenticated
apt-get -y install debian-archive-keyring --allow-unauthenticated

## ADD KEYRINGS
wget -q -O /tmp/deb-multimedia-keyring_2016.8.1_all.deb https://www.deb-multimedia.org/pool/main....1_all.deb
dpkg -i /tmp/deb-multimedia-keyring_2016.8.1_all.deb
rm -f /tmp/deb-multimedia-keyring_2016.8.1_all.deb

wget -q -O /tmp/debian-keyring_2024.03.24_all.deb http://ftp.wa.au.debian.org/debian/pool/...24_all.deb
dpkg -i /tmp/debian-keyring_2024.03.24_all.deb
rm -f /tmp/debian-keyring_2024.03.24_all.deb

apt-get -y update -oAcquire::AllowInsecureRepositories=true --allow-unauthenticated

##UPDATE KODI
apt-get -y install --reinstall libgcrypt20 liblcms2-2 libwebp7 libzstd1 libcodec2-1.0 libhwy1 libjxl0.7 libopencore-amrnb0 libopencore-amrwb0 libsnappy1v5 libvo-amrwbenc0 libvpx7 libwebpmux3 libcjson1 libmbedcrypto7 libsrt1.5-gnutls libfftw3-double3 libjpeg62-turbo liblerc4 libtiff6 liblept5 libtesseract5 -t stable --allow-unauthenticated
apt-get -y install --reinstall libass9 libavcodec60 libavfilter9 libavformat60 libavutil58 libbluray2 libcdio19 libcec6 libcrossguid0 libiso9660-11 libpostproc57 libswresample4 libswscale7 libudfread0 -t stable --allow-unauthenticated
apt-get -y install kodi -t bookworm-backports --allow-unauthenticated

## REMOVE KEYRINGS, PREFERENCES & SOURCES
## SOLVES FUTURE SYSTEM UPDATE ERRORS
dpkg --purge deb-multimedia-keyring
dpkg --purge debian-archive-keyring
rm -f /etc/apt/sources.list.d/kodi21.list
rm -f /etc/apt/preferences.d/preferences
rm -rf /var/lib/apt/lists/*
dpkg --purge debian-keyring
apt-get -y update
apt-get -y dist-upgrade
apt-get -y autoremove
apt-get -y install --fix-broken

I hope this useful.

Thank you...
Reply
#21
Send me a PM and I'll send you the complete source code.
Thank you...
Reply

Logout Mark Read Team Forum Stats Members Help
Team-Kodi PPA Retired; Ubuntu doesn't support Flatpak, which Linux distro is best?0