Jellyfin media server on Archlinux ARM

In this post, I want to share some insights on building Jellyfin media server for Archlinux ARM. The PKGBUILD for Jellyfin one can find on the AUR, is specifically made for 64 bit architectures. Nevertheless Microsoft released the dotnet runtime, which Jellyfin relies on instead of Mono, also for Linux and further for Linux ARM architectures. Archlinux ARM doesn’t provide any prebuild packages for this runtime anymore, probably because the dotnet-sdk is still lacking ARM support. So I created this AUR package to provide dotnet-runtime for several architectures, including ARM. Further I made some additions to the original Jellyfin package: Additional dependencies, option to include static libraries and a check for armv7h/armv6h architecture environment variable to build/publish the dotnet binaries for these platforms.

These are the steps to build Jellyfin for ARM platforms:

cd /tmp
wget "https://onny.project-insanity.org/files/jellyfin-10.2.1-1.src.tar.gz"
tar xvf jellyfin-10.2.1-1.src.tar.gz
cd jellyfin
env CARCH=armv7h makepkg -s

Transfer the package to your ARM device and install the missing dependencies:

aur sync -c dotnet-runtime-bin
pacman -S dotnet-runtime-bin
pacman -U /tmp/jellyfin-10.2.1-1-armv7h.pkg.tar.xz

Building Jellyfin directly on the ARM device is not yet possible until Microsoft publishes the dotnet SDK also for the Linux ARM platform.

💬 Are you interested in our work or have some questions? Join us in our public Signal chat pi crew 👋
🪙 If you like our work or want to supprot us, you can donate MobileCoins to our address.

Comments

  1. Hey, nice article, I was able to get jellyfin up and running on my raspberry pi running arch linux, it would be great if you can please suggest a way to update to a newer version of jellyfin that was released recently.

  2. @MUTHUKRISHNA: good to hear, thanks for the feedback! I just updated the version number, repackaged everything and than updated Jellyfin by installing the new package version. This worked for me. Nevertheless you should backup your data folder /var/lib/jellyfin before upgrading.

Leave a Reply

Your email address will not be published. Required fields are marked *