Jellyfin Forum
Jellyfin builds for Archlinux - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Packaging (https://forum.jellyfin.org/f-packaging)
+--- Thread: Jellyfin builds for Archlinux (/t-jellyfin-builds-for-archlinux)



Jellyfin builds for Archlinux - Fate - 2024-05-19

Hi guys,

since Arch packager George Rawlinson didn't update the jellyfin packages yet I'll try to make a quick guide here.

Here is everything you need:
https://mega.nz/folder/n51T1IyR#--FNQIRC5w4jvmkZ5nCW5A

We have 3 packages in Arch's Extra Repo:
jellyfin-ffmpeg 
jellyfin-server
jellyfin-web

Jellyfin-web and jellyfin-ffmpeg have no arch specific patches. So simply updating the PKGBUILD file with the new commit hash should all you need. Jellyfin-server is a bit tricky.
to run makepkg you need a non-root user.
Also you need the base devel
sudo pacman -S --needed base-devel

(don't forget to shutdown jellyfin if you have it running)

Lets do the easy one first Jellyfin-web.
Run this:
cd /opt/
mkdir jellyfin-web
cd jellyfin-web
git clone https://gitlab.archlinux.org/archlinux/packaging/packages/jellyfin-web.git
cd jellyfin-web
then overwrite the PKGBUILD file with the one from my mega link.
Then finally run:
makepkg -si

That's it we complied and installed jellyfin-web 10.9.2 Smiling-face

Now a bit harder lets do jellyfin-server
Run this:
cd /opt/
mkdir jellyfin-server
cd jellyfin-server
git clone https://gitlab.archlinux.org/archlinux/packaging/packages/jellyfin-server.git
cd jellyfin-server 
Again we add/replace some files:
Overwrite PKGBUILD and fix-incorrect-fhs.patch from mega to /opt/jellyfin-server/jellyfin-server
Copy folder fedora from mega to /opt/jellyfin-server/jellyfin-server/src/jellyfin-server

now we should be ready to compile it
run:
makepkg -si

TLDR:
Q: screw the compile stuff can you give me a install ready .pkg!
A: go to my mega links and download the finished compile and install using pacman -U filename

Disclaimer:
Don't trust anyone, always check any files you download if there is anything in there that looks out of place. Especially when you execute them.
At the minimum run them through virustotal.com
Don't install .pkg from 3rd party sources. (Yes that includes the ones I made) If possible compile it yourself.
I'm not an expert in jellyfin, nor packaging, so always do a backup before you install jellyfin with these changes.


RE: Jellyfin builds for Archlinux - smallst - 2024-05-22

thank you!


RE: Jellyfin builds for Archlinux - Lancaban - 2024-05-22

Thank you so much for this.

For those just finding this, I'm using the pre-compiled binaries from the provided Mega share. They are working fine for me (again, all due caution with this sort of thing) I personally was willing to take the risk with my little local machine, and have not experienced any issues (yet) or found anything untoward or nefarious (yet)


RE: Jellyfin builds for Archlinux - Fate - 2024-05-27

mega link is updated with compiled 10.9.3 builds.(included jellyfin-ffmpeg this time!)

PKGBUILD files are also updated for 10.9.3


RE: Jellyfin builds for Archlinux - Fate - 2024-06-08

compiles/PKGBUILD files are updated for 10.9.6