| Option | Ubuntu 24.04 | Status |
|---|---|---|
| Xtream UI R22F (original installer) | No | Targets Ubuntu 18.04 and Python 2, unmaintained |
| Community builds of Xtream UI | Yes, unofficial | Third-party scripts, no vendor support |
| Xtream-Masters OTT panel | Yes (recommended) | Licensed panel, Ubuntu 20.04 to 26.04, imports Xtream UI, XUI and NXT databases |
On this page
- Can you install Xtream UI on Ubuntu 24.04?
- Why the R22F installer fails on Ubuntu 24.04
- Which Xtream UI version works on Ubuntu 24?
- Is there a GitHub installer for Ubuntu 24.04?
- Is an unofficial installer safe?
- Step by step: testing a community build
- Python 2 and package errors
- Migrate to a panel built for Ubuntu 24.04
- FAQ
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 needs | Ubuntu 18.04 | Ubuntu 22.04 | Ubuntu 24.04 |
|---|---|---|---|
Python 2 (python / python2) | Available | python2 in universe only | Not available |
libcurl3 | Available | Not available (libcurl4) | Not available (libcurl4t64) |
python-paramiko | Available | Not available | Not available |
| Default Python | Python 3.6 (2.7 available) | Python 3.10 | Python 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:
Xtream UI R22F
The original free panel. Python 2 installer, no updates. Fine for learning on 18.04, not for 24.04.
Community builds
Repackaged Xtream UI with a Python 3 installer. Same old panel code, no vendor support.
A maintained panel
The Xtream-Masters OTT panel runs on Ubuntu 20.04 to 26.04 and imports your Xtream UI data.
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?
Before you run any Xtream UI build, work through this checklist:
install.py line by line and list every URL it downloads from.ss -tunp) after install for unknown hosts.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:
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 see | What it means | What to do |
|---|---|---|
E: Unable to locate package python or Package 'python2' has no installation candidate | Ubuntu 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 candidate | 22.04 and 24.04 only ship libcurl4. | Old R22F command; switch to a 24.04 community build. |
E: Unable to locate package python-paramiko | The Python 2 SSH library was removed. | Same: the R22F update step cannot run as written. |
sudo: python: command not found | There 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 PHP | A prebuilt binary expects an older system library. | Reinstall with a build made for 24.04; do not mix files from different builds. |
.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:
- Export the Xtream UI database:
mysqldump -u USER -p DB_NAME > backup.sql - Reinstall the server (or use a new one) with Ubuntu 24.04, the recommended release.
- Add the server in the Master CMS panel and wait for the install to finish.
- Click Migrate Database and choose a remote connection to the old database or the backup file.
- 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 is | Xtream-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 OS | Ubuntu 20.04 to 26.04, 24.04 recommended |
| License covers | Main server plus unlimited load balancers |
| Price | €40/month until 31 December 2026, €70/month from 1 January 2027 |
| Refund | Full refund within 3 days, no free trial |
| Default panel port | 7709 (changeable) |
| Migration | Xtream UI, XUI, NXT and other panels, by remote database or mysqldump file |
