Android

Where Does proot-distro Store Distributions?

proot-distro keeps installed Linux distributions under Termux private storage. Each distro gets its own root filesystem folder.

Last updated

proot-distro installs full Linux distributions inside Termux without root, and each lives as a root filesystem tree under Termux private storage. Login scripts and distro plugins sit nearby in the same prefix. Everything stays inside the app sandbox, invisible to other apps.

The folder per distro layout makes disk accounting easy: du on the parent shows which distribution eats storage. Backups through the built in command beat raw copies for restores. Keep Termux itself updated, since prefix layout migrations occasionally relocate these trees.

Where Termux stores this, by platform

Android
/data/data/com.termux/files/usr/var/lib/proot-distro

One root filesystem folder per installed distro under Termux files. Use the built in backup and restore commands. Check storage per distro with disk tools on the parent.

Frequently asked questions

How do I back up a proot distro?

Back up the distro folder with Termux closed, or use the built in backup command which packages it correctly. Restores go through the matching restore command. Raw copies work but preserve no metadata guarantees.

How do I delete a distro completely?

Remove the distro through the remove command, which deletes its root filesystem folder. User files inside vanish with it, so export anything valuable first. Reinstalling starts fully fresh.

Notice an outdated path? Let us know.