There are located build scripts and patches for Termux X11 packages.
Programs using the X11 Windowing System cannot be used standalone like normal command line utilities. Termux does not provide native way for a video output and therefore you will need to install additional software.
Recommended setup is a VNC server (package tigervnc
) running on localhost
and a VNC Viewer (by RealVNC Limited) Android application for accessing the
video output.
There possible to use other Xserver solutions like XServer XSDL, but they are not guaranteed to work properly with our packages.
More information about setting up graphical environment is on the Termux Wiki.
Warning: Android 5 branch is reaches its end-of-life after 01.01.2020 and legacy binary packages will no longer be available for installation.
To enable this package repository run:
pkg install x11-repo
You can build all packages manually by using provided docker image. The only requirements are Linux-based host with Docker installed.
-
Clone this repository:
git clone https://github.com/termux/x11-packages
-
Enter build environment (will download docker image if necessary):
cd ./x11-packages ./start-builder.sh
-
Choose package you want to build and run:
./build-package.sh -a ${arch} ${package name}
Replace
${arch}
with target CPU architecture and${package name}
with package name you want to build.
If you wish to contribute, please take a look on our contributing guide.