Updated Jellyfin Debian repository (markdown)

Joshua M. Boniface 2018-12-16 14:30:11 -05:00
parent 695fdee909
commit dafd27c643

@ -1,16 +1,18 @@
Jellyfin provides a Debian repository for installing Jellyfin on Debian and Ubuntu machines. Installing through this method is straightforward following the instructions below. 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 #### Clean install
0. Install the `dotnet-runtime-2.2` package via [Microsoft's repositories](https://dotnet.microsoft.com/download/dotnet-core/2.2). 0. Import the GPG signing key (signed by the Jellyfin Team):
0. Import the GPG signing key (signed by Joshua):
``` ```
wget -O - https://repo.jellyfin.org/debian/jellyfin-signing-key-joshua.gpg.key | sudo apt-key add - wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | sudo apt-key add -
``` ```
0. Add an entry to `/etc/apt/sources.list.d/jellyfin.list` (note that Ubuntu will get `buster` in the list file, but this should still work fine): 0. Add an entry to `/etc/apt/sources.list.d/jellyfin.list`:
``` ```
echo "deb https://repo.jellyfin.org/debian $( grep -Ewo -m1 --color=none 'jessie|stretch|buster' /etc/os-release || echo buster ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list echo "deb https://repo.jellyfin.org/debian $( grep -Ewo -m1 --color=none 'jessie|stretch|buster' /etc/os-release || echo buster ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
``` ```
Note that this will set the release to `buster` for Ubuntu systems - this should be OK for most releases.
0. Update APT repositories: 0. Update APT repositories:
``` ```
sudo apt update sudo apt update
@ -23,7 +25,7 @@ Jellyfin provides a Debian repository for installing Jellyfin on Debian and Ubun
The following procedure should work to upgrade from Emby to Jellyfin on an existing installation: The following procedure should work to upgrade from Emby to Jellyfin on an existing installation:
0. Upgrade to Emby 3.5.X, preferably 3.5.2, so the database schema is fully up-to-date and consistent. This is somewhat optional but can reduce the risk of obscure bugs later on. 0. 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.
0. Stop the `emby-server` daemon: 0. Stop the `emby-server` daemon:
``` ```
sudo service emby-server stop sudo service emby-server stop
@ -32,11 +34,11 @@ The following procedure should work to upgrade from Emby to Jellyfin on an exist
``` ```
sudo mv /var/lib/emby /var/lib/emby.backup sudo mv /var/lib/emby /var/lib/emby.backup
``` ```
0. Remove the `emby-server` package: 0. Remove or purge the `emby-server` package:
``` ```
sudo apt remove emby-server sudo apt purge emby-server
``` ```
0. Install the `jellyfin` package using the instructions above, verifying that `/var/lib/emby` is a symlink to `/var/lib/jellyfin`. 0. Install the `jellyfin` package using the instructions above.
0. Stop the `jellyfin` daemon: 0. Stop the `jellyfin` daemon:
``` ```
sudo service jellyfin stop sudo service jellyfin stop