Termux

T

Termux

Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required.

Join

LXC not working with a custom kernel

lxc-start: ubuntu: /home/builder/.termux-build/lxc/src/src/lxc/cgroups/cgfsng.c: cg_legacy_set_data: 2373 Failed to setup limits for the "devices" controller. The controller seems to be unused by "cgfsng" cgroup driver or not enabled on the cgroup hierarchy lxc-start: ubuntu: /home/builder/.termux-build/lxc/src/src/lxc/start.c: lxc_spawn: 1821 Failed to setup legacy device cgroup controller limits lxc-start: ubuntu: /home/builder/.termux-build/lxc/src/src/lxc/start.c: __lxc_start: 1972 Failed to spawn container "ubuntu" lxc-start: ubuntu: /home/builder/.termux-build/lxc/src/src/lxc/tools/lxc_start.c: main: 330 The container failed to start lxc-start: ubuntu: /home/builder/.termux-build/lxc/src/src/lxc/tools/lxc_start.c: main: 336 Additional information can be obtained by setting the --logfile and --logpriority options...
No description

Can ping, but can't ssh into phone anymore. (SSHD Running)

As it says in the topic, I can ping from my desktop to my phone and vice versa but can't ssh from desktop into phone. I can go from phone to desktop (I setup keys) I get connection refused when trying to ssh in.

Terminal changes color after connecting a keyboard

Hi there, i've tried to connect my keyboard to my phone recently so using neovim isnt wouldnt be as bad, but i had encountered an issue. when the keyboard is attached and any key is pressed the terminal color changes, becoming a bit lighter. i have not encountered this issue before while doing the same thing on my now dead android tablet, but i am using a different keyboard and cable this time. the color is changed for the etire app (including those buttons at the bottom) changes in color somehow. Bellow i have provided 4 screenshots, and i think its easy to see which ones have the issue present. appears to be caused by that second square being drawn which can be seen with layout bounds shown its not unusable with it but its annoying, any help would be appreciated <3...
No description

Idk what to do

Ive never done this before i got termux today and im trying to install kali linux and im very close but there is a problem that whenever i type any kex command a error message shows up

Can't install onnx.

Trying to install onnx, but getting an error, seems like it's missing lgcc. Error log https://hastebin.com/share/uluhoqivoh.sql (I need onnx for https://github.com/Byaidu/PDFMathTranslate)...

Vulkan/CLBlast acceleration with koboldcpp

I have a Samsung S21 FE 5G running android 14 and termux from the f-droid repo. I've got hardware acceleration enabled in some fashion as i can run gears via turnip. and i can use termux-x11 just fine to display said gears (vulkaninfo --summary output attached). i use a old version of mesa-vulkan-icd-freedreno that i'm not sure if it supports the modification made to support virtio. if anyone can help me build a version of it that supports it on an unrooted phone, i'd be grateful. i have used multiple versions of koboldcpp including latest, compiled on device with make LLAMA_CLBLAST=1 and LLAMA_VULKAN=1. I also have clvk and clblast installed....
No description

Installing Distro not Working somehow

So, I'm trying to install Void linux using proot-distro, when first time installing, it's fine, i can login to void, but when i remove the distro, then install it again, i see this error that idk why this show up: ``` proot error: '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/void/usr/bin/env' is a 64-bit program whereas this version of proot handles 32-bit programs only proot info: vpid 1: terminated with signal 11...

Unable to install bootstrap

Everytime I open It it shows this. I got it from f droid for android 6. If I try clicking try again it fails again
No description

'panic: invalid argument to Intn'. Golang

My friend sent me his private binary built in Go, but when I tried to run it, I got the error: 'panic: invalid argument to Intn'. I need some help with this. Thanks. P.S.: I didn't encounter any relevant issues when running it on the terminal (adb shell), su -c......

Ollama not working on Termux.

This seems to be an error with the golang package, and I've seen other people who have errors with the same issue. Here is the error log: go: downloading go1.23.4 (android/arm64) go: download go1.23.4 for android/arm64: toolchain not available go: downloading go1.23.4 (android/arm64) go: download go1.23.4 for android/arm64: toolchain not available...

Pagefind in termux

I am quite lost because I don't understand how binary packages work i think https://pagefind.app/docs/installation/ this doesn't work with npx command ...
Solution:
As for this application in particular. It's a Rust application, it's written in Rust. They seem to also be providing an interface library for Python and NodeJS/JavaScript but the core application is written in Rust. The npm/npx package probably contains the API for NodeJS....

problem with installing ffmpeg with --enable-libxcb in termux

hello, is there any way to enable libxcb when installing ffmpeg on termux? i can't seem to directly enable this when installing ffmpeg in termux (pkg i ffmpeg), so i resort to rebuilding it from the git repo. but for some reason Error: libxcb is requested, but not found even though checking on the installed packages, there is libxcb!!! ...

~/.termux/shell usage

has anyone used the ~/.termux/shell program? Does it have any recommended use besides debugging? I mainly ask because I wonder if there is a circumstance where I should use it instead of a script when starting up a shell

QEMU VM of Android 14 GSI ARM64 on Termux

I am trying to create QEMU VM of Android 14 GSI ARM64 on Termux ``` pkg update && pkg install curl qemu-utils qemu-common qemu-system-aarch64-headless -y mkdir ~/android14 && cd ~/android14 curl https://dl.google.com/developers/android/udc/images/gsi/gsi_gms_arm64-exp-UP1A.231005.007-10754064-77f9c9df.zip -o gsi_gms_arm64-exp-UP1A.231005.007-10754064-77f9c9df.zip...

can't ping

I setup DNS server on my PC. but can't ping from Android
No description

saving file using :w in neovim made the syntax little bit unreadable

So, i have this issue in Neovim, whenever i try to save a file using :w, the syntax (indentation, line etc) becomes "broken", what i mean is that, let's say I'm write a C++ file, in a line that has: ``` void somefunction() { std::cout << "Hello, idk" << std::endl;...
Solution:
go to the LazyVim repo and open a new thread in the discussions

Neovim: using lang.java result in error when editing Java file

So, i installed extras in NeoVim called lang.java, but when i trying to edit Java file, i expect that the LSP will work, but it just result in this error: `` ....termux/files/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:800: Spawning language server with cmd: { "" }` failed. The language server is either not installed, missing from PATH, or not executable...

Alpine Linux & Docker + LLM & MCP

Moving from a #showcase thread To respect their project space @: https://discord.com/channels/641256914684084234/1308059907484028970/1318331169728888894 ... @Willie169 has it & more working:...

Making, Building and Signing Android Application Package

Is it possible to Make, Build and Signing my own Android Application Package (APK)? I'm kinda interested in to learn Making Android App with Java, but because i don't have PC/Laptop to install Android Studio, it just difficult for that, why i didn't just use X11? the performance will be horrible, because my phone are just to Potato, i know there's package called apksigner, dx, ecj, openjdk-21 (which i already installed), aapt etc, but i have no idea how to use it.

openwebui & [to edit]{oh, docker... bridge-mcp}

Build previously failing with gFortran. glcc or something Now Scikit-core ...
Next