Jump to content

Ubuntu/Debian Repository


Recommended Posts

Oratorian
Posted (edited)

📦 How to Add the Emby Repository

This guide outlines how to add the Emby repository from https://repo.amhosting.de using both traditional and modern methods, suitable for various Ubuntu versions including 24.04 and Debian.

 

🔐 Import the GPG Key

Before adding the repository, you must trust the signing key:

curl -fsSl https://repo.amhosting.de/repo-key.pub | sudo gpg —dearmor -o /etc/apt/trusted.gpg.d/repo.amhosting.gpg

 

📁 Legacy APT Method (.list file)

This method is compatible with Ubuntu versions prior to 24.04, but still works on newer versions and all Debian releases.

Stable Release:

echo "deb https://repo.amhosting.de/ubuntu stable main" | sudo tee /etc/apt/sources.list.d/emby-stable.list

Beta Release:

echo "deb https://repo.amhosting.de/ubuntu beta main" | sudo tee /etc/apt/sources.list.d/emby-beta.list

Then, update your package list:

sudo apt update

 

📁 Ubuntu 24.04+ Method (.sources file)

Ubuntu 24.04 and later prefer the .sources format for additional metadata and better security.

Stable:

sudo tee /etc/apt/sources.list.d/emby-stable.sources > /dev/null <<EOF
Types: deb
URIs: https://repo.amhosting.de/ubuntu
Suites: stable
Components: main
Architectures: amd64 armhf arm64
Signed-By: /etc/apt/trusted.gpg.d/repo.amhosting.gpg
EOF

Beta:

sudo tee /etc/apt/sources.list.d/emby-beta.sources > /dev/null <<EOF
Types: deb
URIs: https://repo.amhosting.de/ubuntu
Suites: beta
Components: main
Architectures: amd64 armhf arm64
Signed-By: /etc/apt/trusted.gpg.d/repo.amhosting.gpg
EOF

Then refresh APT:

sudo apt update


✅ You’re Done!

You can now install Emby provided by my repository using:

sudo apt install emby-server
Edited by Oratorian
  • 3 months later...
Posted (edited)

[UPDATE] Emby Stable and Beta-Backports Repositories

This guide will show you how to add both Emby stable-backports and beta-backports repositories to your Ubuntu/Debian system.

Repository Structure Update:

  • stable-backports/beta-backports: Complete package archives with full version history
  • stable/beta: Now only contain the latest 6 versions (decluttered)

An overview with all Version on this repo is hosted at Repo Overview and is automatically updated when a new release is pushed by emby.

Add Stable-Backports Repository

Choose ONE of the following:

Method A: Modern DEB822 format (recommended)

sudo tee /etc/apt/sources.list.d/emby-stable.sources > /dev/null <<EOF
Types: deb
URIs: https://repo.amhosting.de/ubuntu
Suites: stable-backports
Components: main
Architectures: amd64 armhf arm64
Signed-By: /etc/apt/trusted.gpg.d/repo.amhosting.gpg
EOF

Method B: Traditional sources.list format

echo "deb https://repo.amhosting.de/ubuntu stable-backports main" | sudo tee /etc/apt/sources.list.d/emby-stable.list

 

Add Beta-Backports Repository
Choose ONE of the following:

Method A: Modern DEB822 format

sudo tee /etc/apt/sources.list.d/emby-beta.sources > /dev/null <<EOF
Types: deb
URIs: https://repo.amhosting.de/ubuntu
Suites: beta-backports
Components: main
Architectures: amd64 armhf arm64
Signed-By: /etc/apt/trusted.gpg.d/repo.amhosting.gpg
EOF

Method B: Traditional sources.list format

echo "deb https://repo.amhosting.de/ubuntu beta-backports main" | sudo tee /etc/apt/sources.list.d/emby-beta.list

Step 4: Update Package Lists

sudo apt update

Step 5: Install Emby Server

sudo apt install emby-server

 


Repository Priority (if using both)

If you have both repositories enabled, stable will be preferred by default. To explicitly install from beta:

sudo apt install emby-server/beta-backports

Removing Repositories

To remove stable repository:

sudo rm /etc/apt/sources.list.d/emby-stable.sources
# or
sudo rm /etc/apt/sources.list.d/emby-stable.list

 

To remove beta repository:

sudo rm /etc/apt/sources.list.d/emby-beta.sources
# or  
sudo rm /etc/apt/sources.list.d/emby-beta.list

 

Note: The DEB822 format (.sources files) is the modern standard and recommended for new installations.


Last updated: September 2025

Edited by Oratorian

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...