Packages from x11-repo are now maintained along with the main repo in github.com/termux/termux-packages in a git monorepo
There are located build scripts and patches for Termux X11 packages.
If you wish to contribute, please take a look at X11 packages contributing guide and developer's wiki pages.
Repository is not enabled in Termux by default. First enable it to be able to install its packages:
pkg install x11-repo
Programs using the X11 Windowing System cannot be used standalone like normal command-line utilities. Termux does not provide a native way for video output and therefore you will need to install additional software.
The 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 a graphical environment is on the Termux Wiki.
Only for Termux installations on Android 7.0 or higher.
You can build all packages manually by using the 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.