Ubuntu Repo URLs for All Versions (2026) – Complete & Updated

Ubuntu’s package repositories are organized by release (codename) and components. This guide will help you configure the correct repository URLs in /etc/apt/sources.list or, for Ubuntu 24.04 and later, /etc/apt/sources.list.d/ubuntu.sources, based on your Ubuntu version.

Using the official repository lines ensures your Ubuntu system pulls updates, security patches and software from the proper archives. Below we list the repo lines for each Long-Term Support (LTS) release and recent interim release up through early 2026.

How to edit ‘sources.list’ file and add Repo URLs

First, back up your current sources list. For example, run:

This protects your current setup. Next, use your favorite editor to open the sources file. For Ubuntu versions prior to 24.04, use:

On Ubuntu 24.04 and newer versions, the repository configuration is no longer stored in the traditional /etc/apt/sources.list file. Instead, it has been moved to /etc/apt/sources.list.d/ubuntu.sources.
So, if you need to make any changes to the repositories, you can open this file using a text editor — for example:

Next, replace the contents of the file with the appropriate lines from the tables below (matching your Ubuntu codename). After saving, run sudo apt update to refresh package lists.

    Long-Term Support (LTS) Versions Repo URLs

    Ubuntu LTS releases come with 5 years of standard support, and each version has its own codename (for example, 24.04 is called “Noble Numbat”). Below are the official repository entries for the currently supported LTS releases.
    If a version has reached end-of-life, its repositories are moved to old-releases.ubuntu.com.

    Ubuntu 26.04 LTS “Resolute Raccoon” (April 2026)

    (These lines will be valid after 26.04 is released. In the meantime you can replace resolute with the actual codename when it becomes available.)

    Ubuntu 24.04 LTS “Noble Numbat” (April 2024)
    Ubuntu 22.04 LTS “Jammy Jellyfish” (April 2022)

    The deb-src lines are commented out by default. These entries point to Ubuntu’s main, updates, security, and backports repositories for Jammy.

    Ubuntu 20.04 LTS “Focal Fossa” (April 2020)
    Ubuntu 18.04 LTS “Bionic Beaver” (April 2018)
    Ubuntu 16.04 LTS “Xenial Xerus” (April 2016)

    Non-LTS Releases Repo URLs

    Non-LTS Ubuntu releases (published every six months) are supported for 9 months only. The latest interim versions are Ubuntu 25.10 “Questing Quokka” and 25.04 “Plucky Puffin,” released in Oct 2025 and Apr 2025.

    Ubuntu 25.10 “Questing Quokka” (Oct 2025)
    Ubuntu 25.04 “Plucky Puffin” (Apr 2025)
    Ubuntu 24.10 “Oracular Oriole” (Oct 2024, EOL)
    Ubuntu 23.10 “Mantic Minotaur” (Oct 2023, EOL)
    Ubuntu 23.04 “Lunar Lobster” (Apr 2023, EOL)
    Ubuntu 22.10 “Kinetic Kudu” (Oct 2022, EOL)
    Ubuntu 21.10 “Impish Indri” (Oct 2021, EOL)
    Ubuntu 21.04 “Hirsute Hippo” (Apr 2021, EOL)

    Each repository entry uses the Ubuntu codename as the “suite” (such as quokka, plucky, oracular, etc.), so make sure it matches your installed Ubuntu version. As Veeble points out, unsupported (EOL) releases must use old-releases.ubuntu.com. If you’re on an EOL version, it’s strongly recommended to upgrade to a supported LTS to continue receiving security updates.

    Experience the Power of Veeble VPS Hosting

    At Veeble, our Ubuntu VPS plans are designed for reliability and performance. They run on powerful hardware with 1Gbps bandwidth, backed by 24/7 expert support for any server or repository configuration needs. Whether it’s a production server or a development setup, you get full control and high uptime. Visit our VPS hosting page to explore plans and get the most out of your Ubuntu environment.

    Scroll to Top