>_TERNUXARM64 / ON-DEVICE LINUX
বাংলা
MENU
HomeDocsWorkloads — what each option installs, automatically or by hand
TERNUX · DOCUMENTATION

Workloads — what each option installs, automatically or by hand

The opt-in workloads, the exact packages each one installs, the one-command route and the manual equivalent, and how resume and failure are handled.

A ternux install is a desktop plus whatever you opt into. Nothing on this page is installed unless you ask for it, and each option is a workload: a named set of packages, installed into the guest, recorded in state so --resume and ternux repair know about it.

The workload groups below can be installed two ways, and both are first-class. The one-command route is a flag on the installer. The manual route is the same commands run yourself inside the guest, so you can read them before they run and so a failed install can be finished by hand instead of started over. The interactive catalog also offers managed extension releases as individual choices; these use the checksum-verifying extension manager rather than the --with-* group flags.

During an interactive install, the software catalog shows up to 12 items at a time and reflows when the terminal resizes, including when the Android keyboard opens; items use short names and category tags. Move with arrow keys or j/k, press Space or the item's number to toggle it, then press Enter to review the plan. Press q for the base desktop only. The plan screen starts installation when you press Enter; type n to cancel. Each optional tool is separate, so you can choose ADT's ADB without the rest of the Android toolchain. Fresh guests include Firefox ESR: Debian-family guests use the native package; Ubuntu uses the official Mozilla ARM64 build because Ubuntu archive Firefox depends on Snap, which is disabled in PRoot. Optional packages are resolved against the selected guest's current repositories; Ternux reports missing candidates and continues attempting the rest of the selected packages. ADT choices use its latest verified release registry; llama.cpp CPU + Vulkan, Stable Diffusion CPU + Vulkan, and experimental HTP are managed prereleases installed through Ternux's checksum verifier. The chooser lists them individually. Stable Diffusion is a preview, CPU image quality is unqualified, and HTP is limited to SM8735/V73 and not supported. Model weights remain user-provided. --with-llm continues to build llama.cpp from source; it is separate from the managed CPU + Vulkan extension. --yes and non-interactive runs keep the base profile unless flags select workloads.

Every fresh guest profile installs Firefox in its base desktop. Debian-family guests use the native Firefox ESR package; Ubuntu uses Mozilla's official Firefox ESR build because the Ubuntu firefox package is a Snap bridge, while Ternux disables Snap in PRoot. Alpine, Arch, Fedora, openSUSE and Void use their native Firefox package. A missing browser candidate fails base setup with a direct error instead of leaving a browserless desktop. APT guests have a Synaptic Package Manager launcher; the duplicate system Synaptic entry is hidden. APK guests show APK, pacman guests Pacman, DNF guests DNF, Zypper guests Zypper, and XBPS guests XBPS. Those launch their native package tools in a terminal menu for repository refresh, upgrade, search, install, removal, and installed-package listing. Galculator provides scientific calculations, and Evince is the lightweight default PDF reader. LibreOffice Draw is available as an optional tool for editing PDF pages and exporting documents to other formats. No mail client is installed or assigned as the default. Evolution Mail is available as an optional workload; common providers can use OAuth and other hosts support manual IMAP/POP setup. OAuth opens the included Firefox ESR, or the Android default browser through the Ternux browser bridge if guest Firefox cannot start. The optional catalog offers LibreOffice Writer, Calc, and Draw as separate choices, along with Go, PHP, SQLite, ripgrep, jq, htop, tree, Micro, and Thonny. Celestia is also available as an optional astronomy simulator; it is not part of the default desktop. The chooser follows the Celestia project’s Debian install guidance and uses its documented Debian 13 OBS feed (currently a 1.7 development snapshot). It verifies the feed key fingerprint, signed package index, and each ARM64 package checksum before install, then removes the temporary APT source.

Before installation, Ternux shows a rough storage estimate based on the selected optional software, including temporary download and setup space. In a sufficiently large terminal, the install dashboard also shows live CPU utilization sampled from the Linux guest; this is a short-interval estimate, not a per-process view. If CPU counters are restricted, it shows the available core count and load average.

The workloads

Workload Flag What it installs
Development --with-dev git, curl, wget, Node.js, npm, Python 3 with pip and venv, build-essential, ca-certificates
Local AI --with-llm Vulkan and shader toolchain, then llama.cpp built from source with GGML_VULKAN=ON
Network --with-network nmap, tmux
Media --with-media ffmpeg, GIMP, Audacity, ImageMagick
Blender --with-blender Blender and Xvfb for headless EEVEE rendering (about 95 MB for Blender with --no-install-recommends)
Everything --all all five

The interactive menu also offers individual tools such as Godot, Blender, Neovim, GitHub CLI, Claude Code, Codex, Hermes, OpenClaw, and ADT Android components. ADT Platform Tools provides adb and fastboot; Ternux installs these by invoking ADT's own setup.sh, never Debian's separate android-tools-adb package. Codex uses the official standalone installer, verified by SHA-256, and tracks the latest Codex release. Its install step does not launch the CLI or install Node.js/npm. Start it from the guest terminal with codex. Hermes uses the verified official installer for the latest stable release without launching its setup flow; run hermes setup when ready. Ternux refreshes Debian's package index before installing selected APT software; the package version is the newest candidate in that device's configured repository.

PRoot-Distro does not define a universal extension store. Android-side Termux companion apps such as Termux:API, Termux:Widget, Termux:Boot and Termux:Styling are separate Android apps, so install them from the official Termux project alongside Termux (official app and add-on projects); Termux:X11 has its own official project. They are not Debian packages and cannot be installed from this guest selector.

The base desktop — Xfce4, terminal, VLC, archive tools, Mesa utilities, Vulkan tools — uses about 4–4.6 GB and is always installed. VLC is also listed in the catalog so it can be selected explicitly; choosing it does not add a second copy.

Automatic

bash install.sh --with-dev --with-llm --with-blender
bash install.sh --all

Flags combine, and the set is recorded. A later bash install.sh --resume restores the same set without repeating it on the command line, and ternux repair repairs what was recorded rather than guessing.

Manual

Run these as the Debian user inside the guest — from the Xfce terminal, or proot-distro login debian --user <you> from Termux. db is the alias ternux installs for exactly this. Each block is what the installer runs, so the result is the same either way.

First, once per session:

sudo apt update
export DEBIAN_FRONTEND=noninteractive

Development

sudo apt install -y git curl wget nodejs npm python3 python3-pip python3-venv \
  build-essential ca-certificates

Network

sudo apt install -y nmap tmux

Authorised testing only. nmap against networks you do not own is not something ternux is asking you to do.

Developer utilities

sudo apt install -y neovim gh

Firefox ESR is installed in every fresh guest profile. Debian-family guests use the native package manager; Ubuntu uses Mozilla's official ARM64 ESR tarball because Ubuntu's firefox package is a Snap shim and Ternux keeps snapd disabled.

After a fresh install, Firefox is already available in the base desktop. The first XFCE login opens the project website once per guest user.

VLC is included with the base desktop. If needed, the catalog's separate VLC choice simply verifies or reinstalls the Debian package.

Media

sudo apt install -y ffmpeg gimp audacity imagemagick

Blender

sudo apt install -y --no-install-recommends blender xvfb

--no-install-recommends drops about 23 MB of speech-synthesis packages Blender does not need. Xvfb supplies the virtual X11 context required by the tested headless Zink/Turnip route. Before rendering, read Graphics persistence: on recent Adreno hardware the GPU path depends on a Mesa driver newer than Debian's, and a package update can remove it.

Local AI (llama.cpp)

This one compiles. Expect a long build and real heat; do it on power, and do not expect a phone to finish it quickly.

sudo apt install -y build-essential cmake git pkg-config libvulkan-dev \
  vulkan-tools clinfo glslang-dev glslang-tools libshaderc-dev glslc
git clone --depth 1 --branch b11582 https://github.com/ggml-org/llama.cpp.git \
  ~/llama.cpp-b11582
cd ~/llama.cpp-b11582
# Verify the installer pin before building.
test "$(git rev-parse HEAD)" = af50f2f248b475d9760f8e67503d01c0f194f5f4
cmake -S . -B build -DGGML_VULKAN=ON -DGGML_HEXAGON=OFF \
  -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release -j"$(nproc)"

--with-llm remains a source-build workload. It is separate from the published CPU + Vulkan prerelease, which can be installed as an extension. For the short setup, use Quick start; for automatic and manual release installation, use the repository extension guide. The prerelease does not make the next stable Ternux release qualified; see the accelerator release plan for open gates.

Model files are not installed by any workload. Keep them where you already have them and point llama.cpp at the path; ternux neither copies nor manages model weights.

Backend selection applies to workloads too

A workload that touches the GPU — Blender, and llama.cpp's Vulkan build — runs over whatever graphics route the install selected. Check it before you blame a workload:

ternux info            # selected backend, GPU, Vulkan
glxinfo -B             # in the desktop terminal: the renderer actually in use

llvmpipe in that renderer string means software rendering, and on some devices software rendering does not merely run slowly — it crashes. See Configuration for the routes and Troubleshooting for symptom-led diagnosis.

When a workload fails

A workload failure does not fail the install. The phase records the failure, the rest of the install continues, and the desktop still comes up. That is deliberate: a missing Audacity should not cost you a working workstation.

ternux logs show                    # what actually failed
bash install.sh --resume            # retry the recorded set
ternux repair                       # repair the recorded install

If one workload keeps failing, install the rest automatically and do that one by hand from the block above — the manual route exists for this.

Driving Blender from an AI agent

tools/blender-gpu-mcp/ is a small MCP server — Python standard library only, nothing to install — that exposes the tested headless route as three tools: gpu_check, render_script and render_blend. It exists because the route is easy to lose: drop DISPLAY and Blender ends with EGL_BAD_MATCH, drop GALLIUM_DRIVER=zink and Mesa picks llvmpipe, which dies with Illegal instruction on this hardware. Both failures write zero frames and neither is about the scene.

The wrapper keeps the command this page documents, --factory-startup included, rather than loading an addon into a long-running Blender: the renderer an agent reaches is the one Evidence & benchmarks measured. It starts Xvfb only when that display is down, requires absolute paths, and never enumerates a directory.

claude mcp add --scope user blender-gpu -- python3 ~/ternux/tools/blender-gpu-mcp/server.py

Measured 2026-10-14 on the Redmi Turbo 4 Pro: gpu_check read back zink Vulkan 1.4(Adreno (TM) 825 (MESA_TURNIP)) and one 320×180 EEVEE Next frame rendered in 2.49 s. See tools/blender-gpu-mcp/README.md for the tool table and its limits.

Status

The package sets on this page are read from the installer itself, so they are accurate for this version. What is not claimed here is that every workload has been qualified on a device: sustained runs, repeat runs and thermal behaviour are a pending release gate, and Evidence & benchmarks is the only place that states what was actually measured.