this post was submitted on 26 May 2024
22 points (89.3% liked)

Linux

48038 readers
751 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have a VPS, but no root access so I can't use apt, or even read a lot of the system files. I would like to get jellyfin (or any media server, really) running on it. Jellyfin has a portable installation option, so I followed the instructions in the docs to install it from the .tar.gz.

But it says I have to install ffmpeg-jellyfin, and I can't find a portable installation of that. My VPS already has ffmpeg installed on it. Will jellyfin work if I just point it to that instead? Or, how can I go about installing ffmpeg-jellyfin without root access?

all 14 comments
sorted by: hot top controversial new old
[–] [email protected] 20 points 5 months ago* (last edited 5 months ago)

Why do you not have root? This isn't a case of unauthorized use is it? If you are paying for a VPS you should have root. I can't knowingly support anything devious

Side note: I personally would run Jellyfin on a Intel minipc for hardware acceleration.

[–] [email protected] 14 points 5 months ago (1 children)

If you don't have root is it really a VPS?

Anyway, unpack the binaries to ~/local/usr/bin and add that to your PATH.

[–] [email protected] 19 points 5 months ago (1 children)

~/.local/bin is more typical

[–] [email protected] -2 points 5 months ago (1 children)

It doesn't matter. Put it in ~/foo/bar/Baz for all the shell cares.

[–] [email protected] 8 points 5 months ago* (last edited 5 months ago)

Of course. That path is just likely already there, and the prefix works for every thing else like desktop files, icons, services, etc. In this context whatever but its a reasonable default choice.

[–] [email protected] 5 points 5 months ago* (last edited 5 months ago)

Jellfin can be configured to use specific installed versions of ffmpeg.

If you do need the jellyfin-ffmpeg (which is needed in specific installs) then you can download releases from github or build it yourself. They do have portable releases.

You do not necessarily need root access to use software on Linux unless you're trying to install it to be available to all users. Users can often install their own software either binaries or compile themselves (unless the system has been locked down). They could sit within your /home/username/bin directory instead of the system level folders like /usr/bin normally used for non-root executable. Your home bin folder is only accessible and so runable by you, and is viable if you do not have access or permission to install into /usr/bin.

You can configure jellyfin to run within your home bin folder or run other software within that folder.

You can get the jellyfin ffmpeg source and releases including portables from their git: https://github.com/jellyfin/jellyfin-ffmpeg

[–] [email protected] 4 points 5 months ago

I run it in podman in user context, root is not required

[–] [email protected] 3 points 5 months ago (1 children)

Why not use a docker image?

[–] LaggyKar 1 points 5 months ago (3 children)
[–] [email protected] 5 points 5 months ago (1 children)

I thought there is a rootless docker?

[–] LaggyKar 5 points 5 months ago* (last edited 5 months ago)

You're right, that might work

[–] [email protected] 5 points 5 months ago

podman then

[–] [email protected] 2 points 5 months ago

I run it in Podman rootless