Plex
Step-by-step instructions for installing Plex Media Server on a headless Debian system.
Installation steps
1. Install required packages
First, install the necessary packages for adding repositories and handling keys:
sudo apt install apt-transport-https curl wget sudo gnupg2 -y
2. Add Plex GPG key
Download the Plex GPG key into the modern keyring location (apt-key is deprecated):
curl -fsSL https://downloads.plex.tv/plex-keys/PlexSign.key | sudo gpg --dearmor -o /usr/share/keyrings/plex-archive-keyring.gpg
3. Add Plex repository
Add the Plex repository, signed by the keyring above:
echo "deb [signed-by=/usr/share/keyrings/plex-archive-keyring.gpg] https://downloads.plex.tv/repo/deb public main" | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
4. Update package list
Update your package list to include Plex:
sudo apt update
5. Install Plex Media Server
Now, install Plex Media Server:
sudo apt install plexmediaserver
6. Access Plex Media Server
Find your server's IP address with:
ip -f inet address | grep inet | grep -v 'lo$' | cut -d ' ' -f 6,13 && curl ifconfig.me && echo ' external ip'
Then, access the Plex web interface by navigating to:
http://myinternal_ip:32400/web
Replace myinternal_ip with the actual IP address of your server.
Navigation
Quick Links
Projects
Server (discourse)
- Host
- Cloudflare Tunnel
- Tailscale
- SFTP
- Discourse
- Forgejo
- Filedrop
- Filebrowser
- Landing Sites
- Onboarding
- Backups
- Recovery
Window Managers
Homelab
Docker
Software
Thoughts
Archived
Connect
Butterbian — my Debian 13 distro · butterrepo — community APT repo · butterknife — TUI installer
justaguylinux.com · Butterforge · Butter Lab · The Churn · YouTube · Mastodon · Links · Contact · Support on Buy Me a Coffee
"Not an expert. Just A Guy." — Licensed CC BY-SA 4.0 · © 2026 JustAGuy Linux