Preloader
Ubuntu 24.04 Guide

How to Install Xtream UI on Ubuntu 24.04

What actually works on Ubuntu 24.04 LTS in 2027, why the R22F installer breaks, how to test a community build safely, and how to leave Xtream UI if you need a supported panel.

Last updated: 3 November 2026


Short answer The original Xtream UI R22F installer was built for Ubuntu 18.04 and Python 2. On Ubuntu 24.04 it only installs through community builds on GitHub, which are unofficial and unsupported. For a panel built for Ubuntu 24.04, the Xtream-Masters OTT panel supports Ubuntu 20.04 to 26.04 and migrates Xtream UI databases.
OptionUbuntu 24.04Status
Xtream UI R22F (original installer)NoTargets Ubuntu 18.04 and Python 2, unmaintained
Community builds of Xtream UIYes, unofficialThird-party scripts, no vendor support
Xtream-Masters OTT panelYes (recommended)Licensed panel, Ubuntu 20.04 to 26.04, imports Xtream UI, XUI and NXT databases
Disclosure: Xtream-Masters sells a licensed IPTV/OTT panel that competes with Xtream UI. This page does not provide a download. The older Ubuntu 18.04 steps on our Xtream UI hub use an archived installer script; community Ubuntu 24.04 installers are not named or linked here.

Can you install Xtream UI on Ubuntu 24.04?

Yes, but not the way old tutorials describe. Xtream UI is the free panel that appeared after Xtream Codes shut down, and its last widely used release, R22F, ships an installer written for Ubuntu 18.04. That installer expects Python 2 and a set of 2018-era packages. Ubuntu 24.04 LTS (Noble Numbat) removed them, so the classic one-line command ends with errors before the panel is installed.

Everything that runs Xtream UI on 24.04 today is a community build: someone repackaged the panel files, swapped the database for a newer MariaDB and replaced Python 2 with Python 3 in the installer. That works for many people, but nobody audits these builds and nobody supports them. Treat them as a test bed, not as a production platform for paying subscribers.

Why the R22F installer fails on Ubuntu 24.04

The R22F installer instructions tell you to install libcurl3, python and later python-paramiko, then run sudo python install.py. Here is what each Ubuntu release offers for those names, checked on packages.ubuntu.com on 3 November 2026:

Package the R22F installer needsUbuntu 18.04Ubuntu 22.04Ubuntu 24.04
Python 2 (python / python2)Availablepython2 in universe onlyNot available
libcurl3AvailableNot available (libcurl4)Not available (libcurl4t64)
python-paramikoAvailableNot availableNot available
Default PythonPython 3.6 (2.7 available)Python 3.10Python 3.12

So the failure is not a bug you can patch with one command. The installer, the update script and several helper tools were written for an operating system that reached the end of standard support in 2023. Community builds solve this by rewriting the installer, not by restoring Python 2.

Which Xtream UI version works on Ubuntu 24?

There are three routes in 2027. Pick the one that matches what you need:

Ubuntu 18.04 only

Xtream UI R22F

The original free panel. Python 2 installer, no updates. Fine for learning on 18.04, not for 24.04.

R22F install guide

Unofficial on 24.04

Community builds

Repackaged Xtream UI with a Python 3 installer. Same old panel code, no vendor support.

Supported on 24.04

A maintained panel

The Xtream-Masters OTT panel runs on Ubuntu 20.04 to 26.04 and imports your Xtream UI data.

Xtream-Masters OTT panel

Is there a GitHub installer for Xtream UI on Ubuntu 24.04?

Yes. Search results and AI answers point to community installers on GitHub that repackage Xtream UI with a Python 3 installer for Ubuntu 24.04. They are third-party projects, not official Xtream UI releases, and nobody supports them. We do not name or link them here.

We also deliberately do not copy any install command. Commands change, and a command copied onto another site cannot be checked against the code it downloads. If you test one, use the project's own README, after reading the script, and check its last update date and license.

Is it safe to run an unofficial Xtream UI installer?

Risk in one sentence: a community installer runs as root and downloads panel files and binaries from third-party mirrors, so whoever controls those files controls your server and your subscriber database.

Before you run any Xtream UI build, work through this checklist:

Read install.py line by line and list every URL it downloads from.
Run it first on a throwaway VPS with no customer data.
Take a provider snapshot so you can roll back in minutes.
Check the project's last commit date and open issues.
Never reuse your old panel, MySQL or SSH passwords.
Watch outgoing connections (ss -tunp) after install for unknown hosts.
Keep an offsite copy of your database dump before any migration.
Avoid "decrypted" or "cracked" builds entirely.

Cracked panels are a separate and bigger risk; we explain why in our Xtream Codes crack risks guide.

How do I install Xtream UI on Ubuntu 24.04 step by step?

This is the process we recommend for testing a community build. It does not replace the project's README; it wraps it in the checks that protect you.

Step 1: Start from a fresh Ubuntu 24.04 test server

Use a new VPS with a clean Ubuntu 24.04 install, not your production panel. Confirm the release with lsb_release -a and take a provider snapshot before you begin.

Step 2: Back up anything you need

If you are moving an existing Xtream UI panel, export the database with mysqldump and copy it off the server. Keep the old server running until the new one works.

Step 3: Read the community installer before running it

Open the installer repository on GitHub, read install.py, note every URL it downloads from and check when the project was last updated.

Step 4: Run the installer exactly as its README describes

Log in as root, run the command from the project README and choose the main server option. Save the MySQL password and the admin URL it prints.

Step 5: Verify the panel and services

Open the admin URL, change the default admin password, check that nginx and PHP are running and that a test stream plays.

Step 6: Harden the server before real users connect

Close unused ports with a firewall, change the panel port if possible, install SSL and keep regular offsite backups.

Useful checks before and after the install:

lsb_release -a # must say Ubuntu 24.04 python3 --version # Python 3.12 on 24.04 df -h / # keep free space for logs and recordings ss -tulpn # which ports the panel opened

Why does Xtream UI fail on Ubuntu 22.04 or 24.04 with Python 2 errors?

If you ran an old tutorial command on a new server, you will see one of these. The cause is almost always the operating system, not your typing:

Error you seeWhat it meansWhat to do
E: Unable to locate package python or Package 'python2' has no installation candidateUbuntu 24.04 has no Python 2 package.Do not try to compile Python 2. Use an installer written for Python 3, or another panel.
E: Package 'libcurl3' has no installation candidate22.04 and 24.04 only ship libcurl4.Old R22F command; switch to a 24.04 community build.
E: Unable to locate package python-paramikoThe Python 2 SSH library was removed.Same: the R22F update step cannot run as written.
sudo: python: command not foundThere is no python command, only python3.Running python3 on a Python 2 script leads to the next error.
SyntaxError: Missing parentheses in call to 'print'A Python 2 script was started with Python 3.The script needs a Python 3 rewrite, which is what community builds provide.
error while loading shared libraries when starting nginx or PHPA prebuilt binary expects an older system library.Reinstall with a build made for 24.04; do not mix files from different builds.
Stop sign: guides that tell you to add an Ubuntu 18.04 repository or force-install old .deb files onto 24.04 usually leave the server half-upgraded and hard to patch. A clean reinstall is faster.

Already installed but the CPU sits at 100%? See Xtream UI high CPU fix.

How do I migrate Xtream UI to a panel built for Ubuntu 24.04?

If you run real subscribers, the safer route is to keep your data and change the software. With the Xtream-Masters OTT panel the move looks like this:

  1. Export the Xtream UI database: mysqldump -u USER -p DB_NAME > backup.sql
  2. Reinstall the server (or use a new one) with Ubuntu 24.04, the recommended release.
  3. Add the server in the Master CMS panel and wait for the install to finish.
  4. Click Migrate Database and choose a remote connection to the old database or the backup file.
  5. Reset the admin password, then re-install or restart each load balancer from Manage Server.

Users, lines, bouquets, streams, movies, series, categories, resellers and settings come across. Movies stored on disk move from /home/xtreamcodes/iptv_xtream_codes/movies/ to /home/xtreamaster/movies/. The full walkthrough is in migrate Xtream UI to Xtream-Masters. Running XUI.ONE instead? See install XUI.ONE on Ubuntu 24.04.

Xtream-Masters OTT panel: facts
What it isXtream-Masters is a self-hosted IPTV/OTT panel (Xtream UI / XUI.ONE replacement) that installs on your own Ubuntu server and migrates your Xtream UI, XUI, NXT or other panel database by remote connection or mysqldump file.
Supported OSUbuntu 20.04 to 26.04, 24.04 recommended
License coversMain server plus unlimited load balancers
Price€40/month until 31 December 2026, €70/month from 1 January 2027
RefundFull refund within 3 days, no free trial
Default panel port7709 (changeable)
MigrationXtream UI, XUI, NXT and other panels, by remote database or mysqldump file
Built for Ubuntu 24.04

Xtream-Masters OTT Panel

Skip the Python 2 workarounds

A licensed IPTV/OTT panel that installs on Ubuntu 20.04 to 26.04 and imports your Xtream UI database, users and streams.

Xtream-Masters panel dashboard, an Xtream UI alternative for Ubuntu 24.04
OTT Panel License €40/Month

€40/month until 31 December 2026. €70/month from 1 January 2027.

  • Ubuntu 20.04 to 26.04, 24.04 recommended
  • Main server + unlimited load balancers
  • Imports Xtream UI, XUI and NXT databases
  • 3-day full refund, no free trial
Get Your License
Ubuntu 24.04 Questions

Xtream UI on Ubuntu 24.04: FAQ

01

Can you install Xtream UI on Ubuntu 24.04?

Not with the original Xtream UI R22F installer, which was written for Ubuntu 18.04 and Python 2. Ubuntu 24.04 has no python2 package, so that installer stops. It only works through unofficial community builds that rewrite the installer for Python 3.

02

Which Xtream UI version works on Ubuntu 24?

The original R22F release targets Ubuntu 18.04. On Ubuntu 24.04 people use unofficial community builds that repackage the same panel code with a Python 3 installer. No official Xtream UI release supports Ubuntu 24.04.

03

Is there a GitHub installer for Xtream UI on Ubuntu 24.04?

Yes, community installers for Ubuntu 24.04 exist on GitHub. They are third-party projects, not official Xtream UI releases, and we do not link them. Read its install.py before running it as root and test it on a throwaway server first.

04

Why does the Xtream UI installer fail on Ubuntu 22.04 and 24.04?

The R22F installer installs packages that newer Ubuntu releases no longer ship: libcurl3, python (Python 2) and python-paramiko. Ubuntu 22.04 and 24.04 have none of libcurl3 or python-paramiko, and Ubuntu 24.04 has no python2 at all. The result is "Unable to locate package" or "python: command not found" errors.

05

Is it safe to use an unofficial Xtream UI installer?

Only with precautions. Community installers run as root and download binaries from third-party mirrors, so they can contain backdoors or broken files. Read the script, check where it downloads from, run it on a fresh test VPS first, keep backups and never reuse passwords from your old panel.

06

How do I move Xtream UI to a panel that supports Ubuntu 24.04?

Export your Xtream UI database with mysqldump, install a panel that supports Ubuntu 24.04 on a fresh server, then import the dump. The Xtream-Masters OTT panel supports Ubuntu 20.04 to 26.04, recommends 24.04, and migrates Xtream UI databases from a remote connection or a mysqldump file.

Important Legal Notice
Xtream-Masters is a software development company. We build and license professional software. We don't host, store, stream, index, or distribute any audio, video, playlists, channels, or DRM-protected content of any kind. What we sell is an empty technical platform; whatever content runs through it is added, configured, and controlled entirely by the end user, who is responsible for holding the proper rights and following the law in their region. Any copyright or DMCA complaints should go to whoever is operating the stream or hosting the URL in question, not to us. For the full picture, have a look at our Terms, Privacy Policy, and Refund Policy.