Skip to content

flasherxgapple/arch-termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arch Linux-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 Arch 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 Chromium and Onboard keyboard.


Arch Linux on Termux with LXDE Arch Linux with LXDE running from termux:float


Features

  • Automated Arch Linux installation in Termux (no root)
  • User creation and sudo setup
  • Optional desktop environments
  • Chromium and Onboard keyboard included for desktop setups
  • Simple, step-by-step instructions
  • English & Indonesian script language
  • Failsafe Feature (in development)

Requirements

Minimum Requirements

  • Android 7.0 Nougat or higher
  • 1,5 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-200 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: ~400-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 Arch Linux with proot-distro.

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

2. Arch Linux Setup Script

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

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

Desktop Script Flags

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

Usage:

./arch.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:

./arch.sh -d 1     # Launch with XFCE4 as default
./arch.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

run arch linux in android with proot distro on termux no root needed

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages