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.

No Comments

Leave a Reply

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

* Checkbox GDPR is required

*

I agree

Software
Importing playlists to Jellyfin media server

In the following post I would like to describe a way to import music playlists to Jellyfin media server, for example in case you want to migrate them from a former Plex or Emby installation. Usually, Jellyfin is already able to detect playlist files within the media library. Unfortunately my …

Software
2
Voice control Archlinux with Amazon Alexa

I was interested to see how commercial voice recognition software would behave on an usual Linux laptop and tried to deploy an Amazon Alexa instance. There are some installation scripts and tutorials available for Ubuntu and Raspberry PI using the avs-device-sdk from Github. Even though some of them are official …

Software
3
Auto update Archlinux and user repository

In this post I’m going to describe on how to setup automatic package upgrades / system updates. In the first part, a systemd service script and timer triggers the package manager pacman to automatically sync the repositories and upgrade the packages every hour: The last command enables (on boot) and …