[Solved] How to fix broken glibc(reinstallation) in termux
EDIT: ONLY nuke glibc, don't bother with reinstalling the packages!
The package manager is supposed to know what packages are needed once you install using
apt install glibc-repo
...Solution:
Here's how to remove EVERY GLIBC PACKAGE FROM TERMUX
```
dpkg -r --force-depends $(dpkg -l | grep 'glibc' | awk '{print $2}')
...
Where to show?
So I created this big project https://github.com/dedsec1121fk/termux-setup-unofficial and I want to show it here.
how can ı change termux files location or how can ı access termux data files with normal file browse
ı am trying to sync up my termux/ silly tavern files between my phone and pc but ı cant make it because termux files is unaccessable with normal file browsers. what can ı do about it, how can ı make it accessable or change the place of termux files?
Everytime I try to open nethunter touch: cannot touch 'kali-arm64/root/.version': No such file or
touch: cannot touch 'kali-arm64/root/.version': No such file or directory. Idk if it's cus I'm not rooted right. Or that if kali doesn't support my phone it's a 64 32 bit
help me
This keeps happening when I'm trying to install metasploit or hydra or any other pkg, I've tried multiple mirrors and this issue persists. What do I do? Is it my problem? I have a good internet connection
ssh connection: ran 'sshd' yet 'port 22: Connection refused'
Specs
- Hardware: Software
- Galaxy Tab A7 Lite (model name: SM-T220): Android 14
- Raspberry Pi 5 (8GB): Raspberry Pi OS...
Solution:
you'll need to connect to different port
and then on your raspberry pi, connect to it on port 8022...
sshd -p 8022
sshd -p 8022
docker
Hi! I'm trying to install something a bit unusual called Kasm Workspace on my phone instead of a server. I’m using Termux to set up an Ubuntu distribution, and I can use commands like sudo, curl, and bash. But I'm having trouble when I try to install it with Docker.
I'm not sure if the problem is because I'm using a phone or if it's something with Termux. I have the arm64 version of Kasm because my phone is an arm64 SM-G970U1 (Samsung Galaxy S10e), and it's not rooted.
I also have an error message that I took a screenshot of. I’m not sure if the issue is because I'm on a phone or if I installed something wrong. I’ve tried a few times and looked online to see if anyone else had the same problem, but I couldn’t find anything helpful....
Android's OpenGLES library in Termux
Is it possible to use OpenGLES from Termux? In specific, I'm trying to compile my own Android apps in C like shown here in cnlohr's rawdrawandroid, however I need the OpenGLES library to compile with the Termux clang compiler, and i cant find a package for it. I don't plan on running apps using OpenGLES from within Termux (though that would be cool).
bash configuration file location
Hi. I have forgotten where the bash config file is located on my phone. Anyone know where the file is?
Solution:
Your user config file for Bash should be located at
~/.bashrc
.
If that does not exist you can simply create it with your text editor of choice.
Some other ways to express that file location would be $HOME/.bashrc
,
or in the case of Termux,...making alisas
alias ytdla='/data/data/com.termux/files/home/.shortcuts/yt_download.sh'
i pasted this on my .bashrc or .zshrc but i am anable to use the alisas, when i source .zshrc i can use the alias but the termux always forget when i close termux? any help?...
Solution:
you're supposed to put in
.bashrc
if you're using bash
as your shellfailed to initialize player
i tried to play two .exe games and this error appears, i also shown my preferences in termux:X11
please help.
at one point i needed termux, i downloaded it from APK from the site f droid and saw such a problem, my keyboard itself started to write a symbol, after which I downloaded another version from another site, but everything repeated itself. I thought that the problem was in the keyboard itself, and downloaded another one. but it didn't help to solve my problem. I even connected usb keyboard but it didn't help. please i need linux terminal by tomorrow..
if I fully describe everything that happens, it starts writing itself one symbol without any reason, even rebooting doesn't help me. it starts without any reason. Most often this happens when my keyboard is open, but it can happen without itI understand that this is a stupid question, but I don’t know how to solve it.
P.S. My English is bad, I am writing through a translator....
problem with termux-am-socket
$ termux-am-socket
Could not connect to socket: No such file or directory
I tried reinstalling termux from scratch but still doesn't work.
I've set "run-termux-am-socket-server = true" in .termux/termux.properties....
local server that plays videos accessible offline
Hello, I need to play a series of videos one after the other inside a folder (the playback just needs to be visible on a local http server, so that there's no way to play/pause/scrub): any ideas?
Here's what I tried:
-
vlc -vvv "~/storage/shared/Download/My Project.mp4" --sout="#standard{access=http,mux=asf,url=192.164.0.64:8080}"
(tried modifying it from https://forum.videolan.org/viewtopic.php?t=70207, but when I try and connect to that url on the same device that's meant to be hosting it on firefox it said "Unable to connect": I can still access the server generated from apachectl
on Firefox though...)...Stuck on "Waiting 5 seconds for lock" on keychain without starting ssh-agent
I am using
keychain
to load my SSH keys between shell sessions on Termux via eval $(keychain --agents ssh --eval)
on my .bashrc
file, but it is having trouble on the locking mechanism with Waiting 5 seconds for lock...
message and did not start up SSH agent. Any advice on how to fix it?How to make ffi bindings to termux api
I want to use it directly in a programming language rather than the shell interface in a shell script.
Is it possible to do? I used the file command on the termux-api file and it said it was a shared object.
I'm hoping someone can give me some pointers on doing it. Can I interface with it through a C FFI? If it's java, do I need to install a jre to use it?...
please help me no such file or dictory
i write $ cd downloads and and writes no such file or dictory