How to Install APT-Fast on Ubuntu 26.04, 24.04 and 22.04

Last updated Saturday, March 21, 2026 9:42 am 10 min read

Ubuntu already ships with APT, but the default package manager still pulls packages one file at a time. That is why many users install APT-Fast on Ubuntu: the wrapper keeps APT’s normal dependency handling and adds parallel downloads through aria2 so larger installs and upgrades finish sooner.

The current apt-fast/stable Launchpad PPA publishes packages for Ubuntu 26.04, 24.04, and 22.04. After the wrapper is in place, you can tune connection counts, choose whether it pauses before downloading, switch to axel if you prefer it, and decide when it is worth using instead of standard APT.

Install APT-Fast on Ubuntu

The install path is the same across all supported Ubuntu LTS releases, but the PPA source file format is not. On Ubuntu 26.04 and 24.04, add-apt-repository writes a .sources file, while Ubuntu 22.04 still writes a traditional .list file.

The apt-fast/stable PPA currently publishes apt-fast 1.11.1 for Ubuntu 26.04, 24.04, and 22.04. The package candidate ends in ubuntu26.04.1, ubuntu24.04.1, or ubuntu22.04.1 depending on your release.

Update Ubuntu Before Installing APT-Fast on Ubuntu

Refresh APT first so the package index is current before you add the PPA.

sudo apt update

These commands use sudo for root privileges. If your account does not have sudo access yet, add a new user to sudoers on Ubuntu before continuing.

Install software-properties-common for APT-Fast on Ubuntu if Needed

Most desktop installs already include add-apt-repository. Minimal, server, and cloud images sometimes need the helper package first, so this command only installs it when the binary is missing.

command -v add-apt-repository || sudo apt install -y software-properties-common

If the command prints a path such as /usr/bin/add-apt-repository, you can move straight to the PPA step. When it installs software-properties-common, rerun the next command in the same terminal window.

Add the APT-Fast PPA on Ubuntu

Add the stable PPA and let Ubuntu refresh APT immediately. The --yes flag accepts the repository prompt automatically, and --update refreshes package metadata in the same step.

sudo add-apt-repository --yes --update ppa:apt-fast/stable
Get:5 https://ppa.launchpadcontent.net/apt-fast/stable/ubuntu resolute InRelease [20.2 kB]
Get:6 https://ppa.launchpadcontent.net/apt-fast/stable/ubuntu resolute/main amd64 Packages [536 B]
Get:7 https://ppa.launchpadcontent.net/apt-fast/stable/ubuntu resolute/main Translation-en [272 B]
Reading package lists...
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/apt-fast/stable/ubuntu/
Adding repository.'

Use a package-policy check before installing so you can confirm the PPA is the active source.

apt-cache policy apt-fast
apt-fast:
  Installed: (none)
  Candidate: 1.11.1-1~ubuntu26.04.1
     500 https://ppa.launchpadcontent.net/apt-fast/stable/ubuntu resolute/main amd64 Packages

On Ubuntu 24.04, the candidate ends in ubuntu24.04.1. On Ubuntu 22.04, it ends in ubuntu22.04.1 and the PPA output also lists an i386 package line.

Install APT-Fast on Ubuntu

Install the wrapper with standard APT. In a normal terminal session, apt-fast also opens debconf prompts so you can pick the package manager, default connection count, and whether downloads should start before its own confirmation prompt.

sudo apt install apt-fast
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
Installing:
  apt-fast

Installing dependencies:
  aria2  libaria2-0

Suggested packages:
  aptitude  zsh  fish

Summary:
  Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 43
  Download size: 1,540 kB
  Space needed: 5,702 kB / 113 GB available

Get:1 http://au.archive.ubuntu.com/ubuntu resolute/universe amd64 libaria2-0 amd64 1.37.0+debian-4 [1,122 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu resolute/universe amd64 aria2 amd64 1.37.0+debian-4 [385 kB]
Get:3 https://ppa.launchpadcontent.net/apt-fast/stable/ubuntu resolute/main amd64 apt-fast all 1.11.1-1~ubuntu26.04.1 [33.0 kB]

Ubuntu 24.04 and 22.04 show the older APT summary format with The following NEW packages will be installed, but the same package set is pulled in automatically.

Choose the APT-Fast Package Manager on Ubuntu

The first debconf screen asks which package manager APT-Fast should wrap. For most Ubuntu users, apt is the practical choice because it matches the commands you already type interactively.

Set APT-Fast Connection Counts on Ubuntu

The default of five parallel connections is safe on almost every link. If you regularly download large package sets on a faster connection, raising that value to 10 or 16 usually helps more than jumping straight to 20.

Choose APT-Fast Download Confirmation on Ubuntu

The last prompt controls whether APT-Fast asks for its own download confirmation before it starts pulling packages. Enabling that option sets DOWNLOADBEFORE in the config file, which skips the wrapper prompt but does not remove APT’s own install confirmation unless you also use -y.

Verify APT-Fast on Ubuntu

A package-status check is a clearer verification step than apt-fast --version. Current releases pass the version flag through to the underlying apt binary, so it does not tell you which apt-fast package revision is installed.

dpkg -s apt-fast | grep -E '^Status:|^Version:'
command -v apt-fast
Status: install ok installed
Version: 1.11.1-1~ubuntu26.04.1
/usr/bin/apt-fast

Ubuntu 24.04 and 22.04 report the same installed status and binary path, with the version suffix changing to match the release.

Configure APT-Fast on Ubuntu

The current package keeps everything in /etc/apt-fast.conf. There is no persistent /etc/apt-fast.list file in the packaged install, so mirror and downloader changes belong in the main config file.

Open the APT-Fast Configuration File on Ubuntu

Open the config in your preferred terminal editor. Nano is the simplest choice if you only need to adjust a few values.

sudo nano /etc/apt-fast.conf
_APTMGR=apt-get
DOWNLOADBEFORE=
#MIRRORS=( 'none' )
_MAXNUM=5
_MAXCONPERSRV=10
_SPLITCON=8
_MINSPLITSZ=1M
_PIECEALGO=default
DLLIST='/tmp/apt-fast.list'
_DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0 --header "Accept: */*"'

The DLLIST line points to a temporary download list in /tmp, which is why the package does not ship a persistent mirror-list file under /etc.

Tune APT-Fast Connection Settings on Ubuntu

Increase the connection counts only when your mirror and internet link can keep up. A moderate jump usually helps more than aggressive values that overwhelm slower mirrors.

_MAXNUM=10
_MAXCONPERSRV=10
_SPLITCON=8

_MAXNUM controls total parallel connections, _MAXCONPERSRV limits how many hit one mirror at once, and _SPLITCON decides how many pieces a single file can be split into.

Choose aria2 or axel for APT-Fast on Ubuntu

APT-Fast installs with aria2 by default, and that remains the better choice for most Ubuntu systems. If you want the lighter axel downloader instead, install it first, then replace the downloader line in /etc/apt-fast.conf.

The optional axel package comes from Ubuntu’s Universe component. If APT cannot find it, enable Universe and Multiverse on Ubuntu before switching away from aria2.

sudo apt install axel
_DOWNLOADER='grep -E "^https?://" "${DLLIST}" | cut -f1 | xargs -n 1 -P ${_MAXNUM} axel -a -n ${_MAXCONPERSRV}'

If you only want faster downloads and do not care which helper provides them, keep aria2. It is already installed as a dependency and matches the packaged default configuration.

Add Archive Mirrors to APT-Fast on Ubuntu

Mirror changes also live in /etc/apt-fast.conf, not in a separate list file. Add the base archive URLs you want APT-Fast to rotate through inside the MIRRORS=() array.

MIRRORS=( 'http://archive.ubuntu.com/ubuntu,http://us.archive.ubuntu.com/ubuntu' )

Each quoted entry groups one set of equivalent Ubuntu archive URLs. Use the Ubuntu mirror list to pick closer mirrors for your region, then keep those URLs in the same comma-separated entry.

Use APT-Fast on Ubuntu

APT-Fast does not replace APT’s resolver or package database. It only speeds the download phase, so the normal APT workflow and flags still matter when you update packages, upgrade the system, or install software in batches. For the base package-management workflow, see how to update packages via the Ubuntu command line.

Run Common APT-Fast Commands on Ubuntu

TaskCommandNotes
Refresh package metadatasudo apt-fast updateDownloads repository metadata, then hands control back to APT.
Upgrade installed packagessudo apt-fast upgradeBest when many packages need to be downloaded.
Handle dependency changessudo apt-fast full-upgradeUse this when an in-release upgrade needs package additions or removals.
Install a packagesudo apt-fast install package-nameSpeeds the download step for new installs.
Upgrade one package onlysudo apt-fast install --only-upgrade package-nameKeeps the change focused on one installed package.

Know When Standard APT Is Better on Ubuntu

  • Single small packages: The wrapper overhead is harder to justify when only one tiny package is being fetched.
  • Troubleshooting: Standard apt output is usually easier to read when you are fixing broken dependencies or stale package lists.
  • Automation: Ubuntu’s unattended security-upgrade workflow still centers on standard APT, so configure unattended upgrades on Ubuntu when automatic patching matters more than interactive download speed.
  • Unstable mirrors: Parallel downloads help most when the mirror is already responsive. If mirrors are slow or inconsistent, standard APT can be the calmer choice.

Troubleshoot APT-Fast on Ubuntu

Most APT-Fast problems come from missing repository helpers, stale downloads, or a slow mirror selection. Start with the simplest check that matches the error you actually saw.

Fix missing add-apt-repository on Ubuntu

If Ubuntu reports add-apt-repository: command not found, install the helper package and rerun the PPA command.

sudo apt install -y software-properties-common

Check Ubuntu archive mirrors for APT-Fast

Probe the Ubuntu archive metadata directly if downloads stall or one mirror feels consistently slow. This checks the live InRelease file for your current codename instead of a generic web root.

. /etc/os-release && wget -S --spider "http://archive.ubuntu.com/ubuntu/dists/$VERSION_CODENAME/InRelease"

The leading . /etc/os-release reads your release metadata, and $VERSION_CODENAME expands to resolute, noble, or jammy automatically. If you want to test a regional mirror instead, replace archive.ubuntu.com with the mirror host you want to check.

Spider mode enabled. Check if remote file exists.
--2026-03-21 09:08:51--  http://archive.ubuntu.com/ubuntu/dists/resolute/InRelease
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.91.81, 185.125.190.82, 185.125.190.81
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.91.81|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Server: Apache/2.4.52 (Ubuntu)

Clear stale package downloads for APT-Fast on Ubuntu

Clear the package cache and rebuild APT metadata if you hit hash mismatches or partially downloaded archives.

sudo apt clean
sudo apt update
sudo apt-fast install package-name

This removes cached package files, refreshes repository indexes, and then retries the install with a clean download set.

Reopen APT-Fast setup prompts on Ubuntu

Run the package reconfiguration tool if you want to revisit the package-manager choice, connection count, or download confirmation setting without reinstalling the package.

sudo dpkg-reconfigure apt-fast

Remove APT-Fast from Ubuntu

Removal is straightforward because the packaged install does not create user data directories under ~/.config, ~/.cache, ~/.local/share, or ~/.var/app. The cleanup job is split into package removal, repository removal, and optional helper cleanup.

Purge the APT-Fast package on Ubuntu

Purge the wrapper first so Ubuntu removes the binary and its main config file.

sudo apt purge -y apt-fast
Removing apt-fast (1.11.1-1~ubuntu26.04.1)...
Purging configuration files for apt-fast (1.11.1-1~ubuntu26.04.1)...

Then verify the package itself is gone before you remove the PPA.

dpkg -s apt-fast 2>/dev/null | grep '^Status:' || echo apt-fast-purged
apt-fast-purged

Remove the APT-Fast PPA on Ubuntu

Remove the PPA after the package is purged so Ubuntu stops checking that third-party source on future updates.

sudo add-apt-repository --yes --remove ppa:apt-fast/stable
sudo apt update
Removing repository.
Removing entry from /etc/apt/sources.list.d/apt-fast-ubuntu-stable-resolute.sources
Hit:1 http://au.archive.ubuntu.com/ubuntu resolute InRelease
Hit:2 http://security.ubuntu.com/ubuntu resolute-security InRelease
Reading package lists...

Ubuntu 24.04 removes apt-fast-ubuntu-stable-noble.sources. Ubuntu 22.04 removes apt-fast-ubuntu-stable-jammy.list, which is the older source-file format still used on that release.

Now confirm the source entry is gone and that APT no longer sees a live package candidate.

ls /etc/apt/sources.list.d | grep apt-fast || echo ppa-removed
apt-cache policy apt-fast
ppa-removed

If apt-cache policy apt-fast returns no output at this stage, Ubuntu no longer has a configured source for the package.

If you clean up several third-party repositories at once, remove a PPA from Ubuntu covers the broader cleanup workflow.

Remove optional APT-Fast download helpers on Ubuntu

Remove download helpers only if you do not use them anywhere else. aria2 is installed automatically with APT-Fast, while axel is only present if you chose it later.

sudo apt autoremove -y
sudo apt remove -y axel

APT-Fast on Ubuntu FAQ

Does Ubuntu already include APT, or do I need to install it before APT-Fast?

Ubuntu already includes apt. apt-fast is only an optional wrapper that speeds up the download phase while the normal APT resolver still handles package installation, upgrades, and dependency changes.

Is APT-Fast available on Ubuntu 26.04, 24.04, and 22.04?

Yes. The current apt-fast/stable PPA publishes apt-fast 1.11.1 builds for Ubuntu 26.04, 24.04, and 22.04. On Ubuntu 26.04 and 24.04, add-apt-repository writes a .sources file, while Ubuntu 22.04 still creates a .list file for the same PPA.

Should I use aria2 or axel with APT-Fast on Ubuntu?

Use aria2 unless you have a specific reason to switch. It installs automatically with apt-fast, matches the packaged default configuration, and handles the parallel download workflow out of the box. Axel is optional and only needs to be installed if you want to replace the downloader command in /etc/apt-fast.conf.

Why does apt-fast –version show the APT version instead of an APT-Fast version?

Current apt-fast builds pass the version flag through to the underlying apt binary, so the output reflects Ubuntu’s APT version instead of the wrapper package revision. Use dpkg -s apt-fast or apt-cache policy apt-fast when you need to confirm the installed apt-fast package version.

Conclusion

APT-Fast is installed on Ubuntu and ready for the larger package downloads where parallel connections save real time. If you want the rest of your package workflow to stay tidy, configure unattended upgrades on Ubuntu for automatic security patches, and remove a PPA from Ubuntu when you no longer need third-party package sources.

Search LinuxCapable

Need another guide?

Search LinuxCapable for package installs, commands, troubleshooting, and follow-up guides related to what you just read.

Found this guide useful?

Support LinuxCapable to keep tutorials free and up to date.

Buy me a coffee Buy me a coffee

Before commenting, please review our Comments Policy.
Formatting tips for your comment

You can use basic HTML to format your comment. Useful tags currently allowed:

You type Result
<code>command</code> command
<strong>bold</strong> bold
<em>italic</em> italic
<blockquote>quote</blockquote> quote block

Leave a Comment

We read and reply to every comment - let us know how we can help or improve this guide.

Let us know you are human: