You can run Linux on an iPhone or iPad using Crate, an app that allows you to install Linux distributions in a virtualized environment on iOS and iPadOS. With the right setup, you can run Debian, Ubuntu, or Arch Linux with desktop environments like KDE Plasma or XFCE. The process involves sideloading Crate and Get More RAM, enabling increased memory access, setting up JIT compilation, and installing your preferred Linux distribution.
In this tutorial, we’ll use Crate to install Linux and Get More RAM to enable the increased memory limit needed for a smoother experience. We’ll also configure Just-In-Time (JIT) compilation, which is required for the Linux environment to run properly.
What You'll Need
Before getting started, download these two apps:
– Crate: A tool for running Linux distributions on ARM64 Apple devices.
– Get More RAM: Used to enable the increased memory limit entitlement for Crate.
You’ll also need a sideloading tool such as SideStore or AltStore to install the IPA files. Unfortunately Esign or Ksign cannot be used.
Install Crate and GetMoreRAM on Your iPhone or iPad
Download the latest IPA files from their respective GitHub release pages. Once downloaded, open your sideloading app and install both applications.
Make sure LocalDevVPN is enabled in your sideloading app before importing the IPA files. If you encounter an extension prompt during installation, choose the option to keep the app extension.
Enable Increased Memory
Open Get More RAM and sign in using the same Apple ID associated with your sideloading setup.
Navigate to the App ID section, refresh the list, and select Crate. Then choose Add Increased Memory Limit.
After the operation succeeds, uninstall Crate and reinstall it using your sideloading tool. This ensures iOS recognizes the updated memory entitlement.
Open Crate’s settings and verify that the increased memory option is enabled.
Facing Login issues with GetMoreRAm? Solve it here
Enable JIT Compilation
JIT, or Just-In-Time compilation, is another important requirement.
On iOS 27, you may be able to generate the required pairing file directly on your device. On iOS 26 and older, you’ll generally need a computer.
Using a Windows computer, install iLoader and connect your iPhone or iPad. Export the pairing file, then transfer it to your device using a file-sharing app or email.
In Crate, navigate to the JIT settings and import the pairing file. Enable LocalDevVPN and complete the remaining setup steps until all indicators show green check marks.
Finally, tap Turn on JIT.
Install Linux
Once everything is configured, open Crate and navigate to the installation section.
You can choose from several Linux distributions and desktop environments, including:
– Debian with KDE Plasma
– Debian with XFCE
– Ubuntu with GNOME
– Arch Linux with KDE Plasma
– Arch Linux with XFCE
Choose your preferred distribution, create a username and password, and let Crate download and configure the Linux environment.
Which Linux to Install?
Crate lets you choose from several Linux distributions and desktop environments. The tutorial demonstrates Debian, Ubuntu, and Arch Linux.
| Linux distribution | Desktop environment | Experience |
|---|---|---|
| Debian | KDE Plasma | Full desktop Linux experience |
| Debian | XFCE | Lightweight desktop |
| Ubuntu | GNOME | Familiar Linux desktop |
| Arch Linux | KDE Plasma | Customizable desktop |
| Arch Linux | XFCE | Lightweight and flexible environment |
The choice depends on what you want to do. KDE Plasma offers a feature-rich desktop, while XFCE is generally a lighter option. Ubuntu provides a familiar desktop experience, while Arch Linux gives you more customization options.
Explore Linux Desktop on iPhone
After installation, start the Linux environment from Crate’s home screen.
You’ll be greeted with a complete desktop interface, depending on the distribution and desktop environment you selected. You can access the application launcher, system settings, terminal, file manager, and other desktop applications.
You can even install and use native Linux apps. In our demonstration, Debian 13 with KDE Plasma runs successfully, and Firefox launches and loads websites normally.
This gives your iPhone or iPad access to a desktop-style Linux experience without requiring a separate computer.
Final Thoughts
Running Linux on an iPhone or iPad isn’t as straightforward as installing a regular App Store app, but Crate, Get More RAM, and JIT make the process possible.
Once configured, you can explore Linux distributions, use desktop applications, browse the web with Firefox, and access a terminal directly from your Apple device.
FAQ
Can you install Linux directly on an iPhone or iPad?
You can run a Linux environment through tools such as Crate, but this isn’t the same as replacing iOS or iPadOS with Linux. The Apple operating system remains installed and runs the Linux environment.
Which Linux distributions are supported?
Crate offers options including Debian, Ubuntu, and Arch Linux, with different desktop environments such as KDE Plasma, XFCE, and GNOME.
Do I need a computer to install Linux?
Depending on your iOS or iPadOS version, you may need a computer to generate the pairing file required for JIT. Newer versions may support generating it directly on-device.
What is JIT compilation?
Just-In-Time compilation allows code to be compiled while a program is running. It can significantly improve performance for certain workloads and is an important requirement for this Linux setup.
Can I run Firefox and other Linux applications?
Yes. Once the Linux environment is running, you can launch supported desktop applications, including Firefox, terminal utilities, file managers, and other Linux software.