Skip to content

flasherxgapple/debian-termux

Repository files navigation

Debian-Termux Setup

Ini adalah file readme versi Inggris jika mau versi indonesia klik README-IND.md.

Bash Script Arch Linux Android

About

Easily install and configure Debian GNU/Linux inside Termux (Android) using automated scripts. No root required! Choose between a minimal setup or a full desktop environment (XFCE4,MATE,LXQT,LXDE) with Firefox and Onboard keyboard.


Screenshots

Debian on Termux with XFCE4 Custom Debian setup in Termux with terminal and Onboard keyboard

Debian on Termux with MATE Debian with MATE desktop environment from termux:float


Features

  • Automated Debian installation in Termux (no root)
  • User creation and sudo setup
  • Optional desktop environments: XFCE4 or Cinnamon
  • Firefox and Onboard keyboard included for desktop setups
  • Simple, step-by-step instructions
  • English & Indonesian script language
  • Failsafe Feature

Requirements

Minimum Requirements

  • Android 7.0 Nougat or higher
  • 2 GB RAM (minimum)
  • Stable internet connection
  • Sufficient storage (see Desktop Environment options below)

Software Prerequisites

Desktop Environment Options & Download Size
  • Minimal (no desktop environment):

    • Only essential packages (sudo, nano, adduser, pulseaudio)
    • Fastest install, smallest download (~50-100 MB)
  • XFCE4 Desktop Environment:

    • XFCE4, XFCE4 Terminal, Firefox ESR, Onboard
    • Lightweight and suitable for most devices
    • Download size: ~400-600 MB
    • Installed size: ~1.2-1.5 GB
  • LXDE Desktop Environment:

    • LXDE, Firefox ESR, Onboard
    • Lightweight, classic interface
    • Download size: ~300-500 MB
    • Installed size: ~1-1.2 GB
  • LXQt Desktop Environment:

    • LXQt, Firefox ESR, Onboard
    • Lightweight, modern interface
    • Download size: ~350-550 MB
    • Installed size: ~1-1.3 GB
  • MATE Desktop Environment:

    • MATE, Firefox ESR, Onboard
    • Classic, stable interface
    • Download size: ~500-700 MB
    • Installed size: ~1.2-1.7 GB

Actual sizes may vary depending on package updates and mirrors. Ensure you have enough storage and a stable internet connection.


Automated Setup (Recommended)


This project provides two scripts for a fully automated setup:

1. Termux Setup Script

This script updates Termux, installs required packages, and sets up Debian with proot-distro.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/flasherxgapple/debian-termux/master/termux-setup.sh)"

2. Debian Setup Script

Run this inside the Debian shell to finish setup, create a user, and optionally install a desktop environment.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/flasherxgapple/debian-termux/master/debian-setup.sh)"

Desktop Script Flags

The desktop launcher script (debian.sh) supports command-line flags for easier usage:

Usage:

./debian.sh [options]

Options:

  • -h, --help Show help message and exit
  • -d N, --default N Set default desktop environment (N):
    • 1 = XFCE4
    • 2 = LXDE
    • 3 = LXQt
    • 4 = MATE
    • 0 = Minimal (no desktop)

Examples:

./debian.sh -d 1     # Launch with XFCE4 as default
./debian.sh -h       # Show help message

If the automation script didn't work you can try the manual method

See manual/manual.md for step-by-step manual installation instructions.


Credits

Tutorial by @Flasherxgapple

License

See LICENSE for details.

About

Installing debian linux on android device using termux with proot-distro

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages