Website Vidya
Linux & ServersStep-by-Step Guide

How to Install Kodi on Ubuntu 24.04

Learn how to install Kodi on Ubuntu 24.04 LTS using the official Team Kodi PPA. Configure home theater media center, audio output, add-ons, and autostart.

RR
Rajesh RayLead Systems Educator
Published:
6 min read
PDF Cheat Sheet
How to Install Kodi on Ubuntu 24.04
AI Executive SummaryWebsiteVidya AI

6 min read

Learn how to install Kodi on Ubuntu 24.04 LTS using the official Team Kodi PPA. Configure home theater media center, audio output, add-ons, and autostart.

Key Highlights
  • Prerequisites and Supported Releases
  • Step 1: Updating System Repositories and Installing Prerequisites
  • Step 2: Adding the Official Team Kodi PPA Repository
Grounded in full engineering runbookWebsiteVidya AI Engine

Kodi (formerly known as XBMC) is an award-winning, free, and open-source media center software application designed for digital entertainment enthusiasts and home theater setups. Featuring a 10-foot user interface tailored for living room televisions and remote control navigation, Kodi consolidates your personal video collections, television series, music tracks, digital photo galleries, and live TV streams into a unified, visually engaging entertainment dashboard.

Running Kodi on an Ubuntu 24.04 HTPC delivers exceptional advantages, including zero OS licensing costs, low resource consumption, native HDMI audio passthrough for Dolby Atmos and DTS:X, and vast customization via an enormous ecosystem of community add-ons. Learning how to install kodi on ubuntu 24.04 allows you to construct a custom, high-definition entertainment center powered by Linux.

In this step-by-step tutorial, we demonstrate how to install Kodi on Ubuntu 24.04 LTS (Noble Numbat). We cover importing the official Team Kodi PPA repository, installing the Kodi entertainment suite and PVR plugins, configuring audio output devices with PipeWire, managing video libraries, installing official add-ons, and creating an automatic boot-to-Kodi session for dedicated living room appliances.

Advertisement

Prerequisites and Supported Releases

This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat). The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.

Before proceeding, ensure you have the following requirements satisfied:

  • A desktop, home theater PC (HTPC), or laptop running Ubuntu 24.04 LTS.
  • A non-root user account configured with administrative sudo privileges.
  • A GPU with hardware acceleration support (Intel HD/Iris Graphics, AMD Radeon, or NVIDIA).
  • An active internet connection to download PPA packages, add-ons, and movie metadata.

Step 1: Updating System Repositories and Installing Prerequisites

Before adding the official Kodi repository, refresh your local package index and upgrade installed packages to ensure compatibility with modern desktop graphics libraries.

Install the software-properties-common utility, which provides the add-apt-repository command required to register external PPAs.

Advertisement

Verify that the necessary tools are installed before proceeding.

# Update APT package repositories
sudo apt update && sudo apt upgrade -y

# Install software-properties-common helper
sudo apt install -y software-properties-common curl gpg

Step 2: Adding the Official Team Kodi PPA Repository

While Ubuntu's default repositories often contain older versions of Kodi, the official Team Kodi PPA provides the newest stable releases with latest codec support and bug fixes.

Register the official Team Kodi stable PPA using add-apt-repository.

Update your local package lists to import the package definitions and cryptographic signing keys from the PPA.

Advertisement
# Add official Team Kodi stable PPA
sudo add-apt-repository -y ppa:team-xbmc/ppa

# Refresh local repository index
sudo apt update

Step 3: Installing Kodi and Core PVR Add-on Packages

With the PPA configured, install the kodi package using APT.

Optionally, install common PVR and input stream plugins such as kodi-inputstream-adaptive (required for high-definition video streaming) and PVR backends if you connect to live TV tuners.

Execute the installation command below.

# Install Kodi and streaming input plugins
sudo apt install -y kodi kodi-inputstream-adaptive

# Verify installed Kodi version
kodi --version

Step 4: Launching Kodi and Initial Screen Calibration

You can launch Kodi from your desktop application menu or directly from the terminal.

In the GNOME desktop environment, press the Super key, type Kodi, and click the Kodi icon.

Upon first startup, Kodi launches in full-screen mode.

If your display resolution needs adjustment, click the Settings (gear) icon at the top, select System > Display, and verify your resolution and refresh rate (e.g., 1920x1080@60Hz or 3840x2160@60Hz).

# Launch Kodi from terminal
kodi &

# Verify active Kodi process
pgrep -l kodi

Step 5: Configuring Audio Output and Bitstream Passthrough

For home theater systems connected to an AV receiver or soundbar via HDMI or optical SPDIF, configure audio passthrough to allow the receiver to decode multi-channel Dolby Digital, DTS, or Dolby TrueHD tracks.

In Kodi, navigate to Settings > System > Audio.

Set the Settings Level in the bottom left corner to Expert.

Select your Audio output device (e.g., HDMI PipeWire output).

Scroll down to the Audio passthrough section, toggle Allow passthrough to ON, and select your receiver's supported audio formats.

Path: Settings -> System -> Audio
Settings Level: Expert
Audio Output Device: HDMI / Digital Output
Allow Passthrough: Enabled
Passthrough Formats: Dolby Digital (AC3), DTS, TrueHD, DTS-HD

Step 6: Adding Local Video and Music Libraries

To populate your media collection, connect Kodi to your local storage directories or network shares (such as Samba or NFS).

From the Kodi home screen, select Videos > Files > Add videos.

Click Browse and navigate to your local storage path (e.g., /media/plex/movies or ~/Videos).

Choose the content type (Movies or TV Shows) and select an official scraper (such as The Movie Database) to fetch cover art, plot synopses, and ratings automatically.

Home Screen -> Videos -> Files -> Add Videos
Directory Source: /media/plex/movies (or smb://server/share)
Content Type: Movies
Scraper: The Movie Database (TMDb)

Step 7: Installing Official Add-ons from Kodi Repository

Kodi includes an official add-on repository containing hundreds of legal streaming, utility, and interface plugins.

From the home screen, select Add-ons, click the Open box icon (Add-on browser), and select Install from repository.

Select Kodi Add-on repository.

Explore categories like Video add-ons (YouTube, Vimeo, Twitch), Subtitles (OpenSubtitles.org), and Skins (Aeon Nox, Estuary Mod) to personalize your media center.

Add-ons -> Add-on Browser (Box Icon) -> Install from Repository
Popular Add-ons:
- Video: YouTube, Twitch, Vimeo
- Subtitles: OpenSubtitles.com
- Look and Feel: Aeon Nox Skin

Step 8: Configuring Dedicated Standalone Autostart Session (Optional)

If your Ubuntu machine is a dedicated living room Home Theater PC (HTPC) connected directly to your television, you can configure it to boot straight into Kodi without loading the standard desktop environment.

Install the standalone session package: sudo apt install -y kodi-standalone.

At the Ubuntu login display manager (GDM3), click the gear icon in the bottom right corner and select the Kodi session before logging in.

You can also enable automatic login in Ubuntu Settings to boot directly into Kodi hands-free.

# Install Kodi standalone display manager session
sudo apt install -y kodi-standalone

# Configure automatic login in /etc/gdm3/custom.conf (optional):
# AutomaticLoginEnable = true
# AutomaticLogin = username

Troubleshooting and Common Errors

When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:

Kodi screen is black or freezes on Wayland display session

Resolution: Log out of your desktop. At the Ubuntu login screen, click the gear icon in the bottom right corner and select 'Ubuntu on Xorg'. Kodi operates with maximum hardware video decoding compatibility on Xorg.

No sound during video playback or audio device unavailable

Resolution: Open Kodi Settings > System > Audio, set the level to Expert, and ensure the Audio output device points to your active ALSA or PipeWire HDMI endpoint rather than a muted default device.

Add-on installation fails with 'Installation failed' or dependency error

Resolution: Ensure your system date and time are accurate (SSL certificates require valid timestamps), and verify network connectivity: ping -c 3 mirrors.kodi.tv.

Security Best Practices and Hardening

Only install add-ons from the official Kodi Add-on repository or verified, trusted third-party developers.

Beware of unofficial piracy add-ons from untrusted repositories; these third-party scripts execute arbitrary Python code and may expose your network to malware.

Disable 'Unknown sources' in Settings > System > Add-ons unless installing a specific, verified add-on zip archive.

Keep Ubuntu packages and Kodi updated promptly to ensure video decoder security patches are applied.

Deepen your Linux system administration skills with our related production-tested guides:

Authoritative References and Official Documentation

Frequently Asked Questions

Quick answers to common questions and configurations

3 FAQs
Yes. Kodi is completely free, open-source software licensed under GPLv2. Using Kodi to organize and play your personal media collection or official add-ons is 100% legal.
Yes. Enable remote control in Kodi via Settings > Services > Control > Allow remote control via HTTP, then download the official Kore or Yatse remote control app on Android or iOS.
Because you added the official PPA in Step 2, updates are applied seamlessly through standard APT commands: sudo apt update && sudo apt upgrade.
RR
Written byVerified Author

Rajesh Ray

I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.

SPAM-FREE MODERATED DISCOURSE

Join the Conversation & Perspective

Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.

AT
MP
JV
+2

No comments on this guide yet. Be the first to share your thoughts or ask a question!

Recommended Reading10 Guides

Related Technical Guides

Tested runbooks, server administration walkthroughs, and troubleshooting guides

Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout