mirror of https://github.com/jellyfin/jellyfin.git
Page:
Jellyfin Debian Repository
6
Jellyfin Debian Repository
Joshua M. Boniface edited this page 2018-12-29 18:28:42 -05:00
Table of Contents
Jellyfin provides a Debian repository for installing Jellyfin on Debian and Ubuntu machines. Installing through this method is straightforward following the instructions below.
The Jellyfin packages in the repository are self-contained binaries, and do not require the .NET Core runtime to be installed. They should work for all amd64
releases. Builds will eventually be provided for other architectures.
Clean install
- Import the GPG signing key (signed by the Jellyfin Team):
Note: If you still use the old key signed by Joshua from the initial releases, you can remove it after installing the new one:wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | sudo apt-key add -
sudo apt-key remove 99FD1406
- Add an entry to
/etc/apt/sources.list.d/jellyfin.list
:
Note that Ubuntu does not yet have different version releases.echo "deb https://repo.jellyfin.org/debian $( grep -Ewo -m1 --color=none 'jessie|stretch|buster' /etc/os-release || echo ubuntu ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
- Update APT repositories:
sudo apt update
- Install Jellyfin:
sudo apt install jellyfin
Upgrade from Emby
The following procedure should work to upgrade from Emby to Jellyfin on an existing installation:
- Upgrade to Emby 3.5.X, preferably 3.5.2, so that the database schema is fully up-to-date and consistent. This will reduce the risk of obscure bugs related to the media library.
- Stop the
emby-server
daemon:sudo service emby-server stop
- Move your existing Emby data directory out of the way:
sudo mv /var/lib/emby /var/lib/emby.backup
- Remove or purge the
emby-server
package:sudo apt purge emby-server
- Install the
jellyfin
package using the instructions above. - Stop the
jellyfin
daemon:sudo service jellyfin stop
- Copy over all the data files from the old backup data directory:
sudo cp -a /var/lib/emby.backup/* /var/lib/jellyfin/
- Correct ownership on the new data directory:
sudo chown -R jellyfin:jellyfin /var/lib/jellyfin
- Start the
jellyfin
daemon:sudo service jellyfin start