Keep It Updated in Termux
Update the andronix command and every distro installed in Termux with one command, andronix update.
This page is for Andronix with Termux, on phones that can't run Linux in the app (Android 7, or no 64-bit ARM processor), or if you use the command-line installer. For Linux in the app, see Keep it updated.
One command in Termux updates everything:
andronix updateIt does two things:
- Updates
andronixitself to the latest version, after checking its checksum. - Updates the packages in every installed distro, with the same progress display as an install.
- Adds what a newer installer brings to distros installed with an older one. For example, installer 2.0.1 adds the web browser's video codecs to distros installed with 2.0.0.
andronix updateExit the distro and stop its desktop before updating it.
Only some of it
| Command | Updates |
|---|---|
andronix update debian | andronix, then only Debian |
andronix update --self | Only andronix |
andronix update --no-self | Only the distros |
From inside the distro
You can also update a distro with its own package manager, like on any Linux PC:
| Distro | Command |
|---|---|
| Debian, Ubuntu, Kali | sudo apt update && sudo apt upgrade |
| Fedora | sudo dnf upgrade |
| Arch, Manjaro | sudo pacman -Syu (on Manjaro, from andronix start manjaro --root, without sudo) |
| Alpine | sudo apk upgrade |
| Void | sudo xbps-install -Su |
andronix update also applies Andronix's fixes for known problems (for example with the desktop session), so run it from time to time even if you usually update inside the distro.
The Desktop Is Black, Slow or Closes
Fix Andronix desktop problems - a black screen in Termux:X11 or VNC, a desktop that won't start, closes, runs slowly, or can't be reached from another device.
Sound in Termux
How sound from a distro in Termux reaches the phone's speakers through PulseAudio, and what to check if you hear nothing.
