Skip to content

Instantly share code, notes, and snippets.

@gitawego
gitawego / setup_ubuntu.sh
Last active June 3, 2026 17:29
setup_ubuntu.sh
#!/usr/bin/env bash
# Exit immediately if a command exits with a non-zero status
set -e
echo "=== 1. Updating Termux repositories and installing proot-distro ==="
pkg update -y
pkg install proot-distro -y
echo "=== 2. Installing Ubuntu via proot-distro ==="