Pocket Distro app icon

Run real Linux on your iPhone

Eight unmodified Linux distributions on a normal, non-jailbroken iPhone and iPad, from the App Store: Debian comes with the app; Ubuntu, Alpine, Fedora, AlmaLinux, Rocky Linux, openSUSE and Arch Linux ARM are one tap away. Real apt, dnf, zypper, pacman and apk, Python, git, SSH and tmux, servers in a built-in browser, commands from Shortcuts and Siri. Free and open source.

Download Pocket Distro on the App Store
Arch Linux ARM with fastfetch on an iPhone The Distributions list: eight distributions, download or open Ubuntu in its own colours, with apt Ports: a Python server listed with its program The built-in browser showing the server Saved commands, Shortcuts and Siri Fedora with the key row above the keyboard

Real Linux distributions, not a set of ported commands

Eight distributionsDebian comes with the app; Ubuntu, Alpine, Fedora, AlmaLinux, Rocky Linux, openSUSE and Arch Linux ARM download in seconds. Each is the project's own official arm64 image (Arch: its own packages), unmodified and checked before use.
Real package managersapt, dnf, zypper, pacman and apk install from the distributions' own mirrors, maintainer scripts and hooks included.
Python, git, SSH, tmuxPython and pip (compiled wheels included), git, OpenSSH and tmux; Ctrl-C, Ctrl-Z, fg and bg work as on any Linux machine.
Ports and a built-in browserServers you start, such as python3 -m http.server, Flask or Jupyter, are listed with the program that opened them and open right inside the app.
Shortcuts and SiriRun commands and saved commands from the Shortcuts app and Siri, pass text in, send the output to other apps, or run them every day. Seven ready-made tools, from the weather where you are to Hacker News.
Files app/root/Files is in the Files app's Locations, shared by every distribution; open any file in Pocket Distro.
Made for the phoneTabs in each distribution's colours, a key row with Esc, Ctrl, Tab, arrows and F keys, hardware keyboard shortcuts, saved commands, search in the output, themes and fonts.
Private and open sourceEverything runs on your device; the network is used only when you download a distribution or run a program that needs it. No data is collected. GPL-3.0 on GitHub.

On iPad

iPad: Arch Linux ARM with fastfetch iPad: Ubuntu and Debian side by side iPad: the Distributions list

How it works

iOS does not let apps generate machine code, so Pocket Distro brings its own AArch64 interpreter and a Linux system-call layer: real fork and execve, pipes, signals, job control, sockets and a terminal with Linux's line discipline. Every distribution's binaries run inside it as they would on an arm64 machine, and its continuous integration installs real packages with each package manager on every change. Package tools are sped up (on AlmaLinux, dnf starts in about 0.4 seconds) and heavy computing is slower than on a computer; an accelerated engine (the same core as WebAssembly in WebKit) makes long jobs several times faster in Debian tabs. The code is open source on GitHub.

Questions

Can I run Linux on an iPhone without a jailbreak?

Yes. Install Pocket Distro from the App Store and open it: Debian 13 for arm64 starts on the phone itself in a few seconds, and seven more distributions are one tap away. No jailbreak, no sideloading, no remote server.

Which Linux distributions can I run on iPhone?

Debian 13 (included), Ubuntu 26.04 LTS, Alpine Linux, Fedora, AlmaLinux 10, Rocky Linux 10, openSUSE Tumbleweed and Arch Linux ARM, each from its official arm64 image or repositories, unmodified.

How do I use apt, dnf or pacman on my iPhone?

Open a tab in the distribution and use its package manager as usual: apt install htop in Debian or Ubuntu, dnf install htop in Fedora, AlmaLinux or Rocky Linux, pacman -S htop in Arch Linux ARM.

Can I run Python and pip on iPhone?

Yes. Python 3 is installed in Debian; pip installs packages from PyPI, including compiled ones such as polars, because Pocket Distro runs real Linux arm64 binaries.

Can I run a web server or Jupyter on iPhone?

Yes. Start it in a tab and it appears under Ports; open it in the built-in browser. It keeps running while Pocket Distro is open.

How is Pocket Distro different from iSH and a-Shell?

iSH emulates a 32-bit x86 PC running Alpine; a-Shell offers commands ported to iOS. Pocket Distro runs the distributions' own 64-bit ARM programs unmodified, with their package managers and archives.

Is it fast?

Programs run in an interpreter, because iOS allows no JIT, with the package tools sped up: on AlmaLinux, dnf starts in about 0.4 seconds. Shell work, scripts, editors, git and Python are comfortable; heavy computing is slower than on a computer.

Is Pocket Distro free?

Yes, free with no ads or purchases, and open source under the GPL-3.0.