Live data from Hacker News

Termux is an Android terminal emulator and Linux environment app with no rooting

termux.com

161–170 of 217 posts

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#161
I found Termux a while ago, and thought it was interesting. then I found you can run python, ffmpeg and youtube-dl on it, and now I think it's the best thing since sliced bread. I'm still to try to run Jupyter on it, but I think it might be able to.

As all my computers run Linux these days, it also has replaced all my "from-x-to-android" transfer apps.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#162

Earlier quoted context omitted.

Rooting isn't as terrifying as it used to be, and it means you can do actual real backups and genuinely own your data.

One issue is that these days many people work at places that have BYOD (Bring Your Own Device) policy. This means you install work related apps on your own phone rather than being supplied with a work phone like in the old days. Many of these apps refuse to work on a rooted phone "for security" (justified or not, that's the argument)

If dont know mich about these work related apps but all my banking apps work with a magisk based root. So maybe thats a workaround.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#163

what do people use this for? While I was really excited when i encountered it, I didn't find any practical uses.

Primary: File management. I tend to prefer the command line for that kind of thing. Includes occasionally rsync-ing or scp-ing stuff to and from servers, and modding a few games I have on Android (Beamdog's Enhanced Edition mobile ports of old CRPGs).

Secondary: Study programming - I am a self-taught programmer, and before the pandemic I would study a lot on public transit, in coffee shops, while waiting for people etc. This actually used to be the primary use case before I started working as a professional programmer and was also using breaks to study. Android/Termux is not really suitable for actual dev work (e.g. you'll probably need Docker at some point if you're doing backend, and you'll want a browser with dev tools for frontend), but for limited study projects (especially backend dev) it's absolutely awesome.

It's also my SSH client to access a few servers I keep privately, but this is a feature that certain dedicated apps (e.g. JuiceSSH) could do equally well or better, and I'm just using Termux because I already have it.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#164

what do people use this for? While I was really excited when i encountered it, I didn't find any practical uses.

If there is a ARM64 binary, it will most likely run in Termux. I use it with helm, kubectl, rclone, ssh just to name a few. ssh is the most used for me because I don't want to use Termius (paid) or some other SSH wrapper app. Termux is free, allows you to easily create ssh keys and use ssh-copy-id.

See if JuiceSSH fits the bill for you. I use it and love it.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#165
post #127

Termux, Termux-api, there is a termux job scheduler thing. Also rsync and openssh on it. Then you copy the ssh public key from the phone to your "home-server", and setup a job scheduler to run rsync - now you have better than nextcloud syncing of your phones pictures/what-have-you with your home-server.

But what's the battery usage? And handling meshing? why not just use Syncthing?

Twice now I've had, for reasons I can't explain, a folder on my Mac somehow gets renamed from "backgrounds" to "Backgrounds", and then syncthing complains it can't sync the folder for a day or two because the folder is still "backgrounds" on the other clients(which I usually don't notice until I go back digging through the logs), and then somehow syncthing deletes all of the files in this folder on all of the machines, and then spits out a steady stream of errors complaining it can't sync files because no machines currently online have these missing files that it just murdered.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#166
post #96
post #27

Termux has recently run into issues with Android 10 and the more recent APIs, which break its form of package management. Their workaround is fairly clever (although not yet implemented) but means that updates to the Play Store version have been temporarily put on hold. https://github.com/termux/termux-packages/wiki/Termux-and-An...

Reminder that Termux is available on F-Droid.

I've had a terrible experience with my LineageOS S9.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#167
post #74

Earlier quoted context omitted.

The workaround won't help with self-installed executables though, right? Like when I cross-compile something on my dekstop and copy the executable to run under Termux?

It seems like maybe as long as you package your executable into a DEB it can convert it into an APK? That shouldn't be too hard. It's probably possible for them to release a script that does it automatically depending on what information is preserved from the DEB in the APK with regard to types of files and how complex the thing you want to install is. I don't have much experience with DEBs, but have quite a bit with…

Yeah I guess that would work as a last resort but it's a pretty big hoop to jump through compared to just scp-ing the binary over. I guess I will stick with SDK 28 builds as long as I possibly can and start looking at alternatives for the longer term.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#169
post #148

Earlier quoted context omitted.

I was miserable with my PinePhone until I found out about https://github.com/dreemurrs-embedded/Pine64-Arch - this is an Arch-based distro that works very well, ime. Previous attempts results in glacial response times, sub-day idle battery drain, broken software updates, and overheating.

Doesn't it run Manjaro by default? (Which is also 'Arch-based'.)

Mine was the UBPorts edition but I believe the latest shipped phone is Manjaro based. I was planning to try that as well at some point but the current version I have makes me happy enough to not want to experiment anymore :) . Edit0: s/release/shipped phone/ .

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#170
post #168

Earlier quoted context omitted.

I've had a terrible experience with my LineageOS S9.

What does that have to do with Termux or F-Droid?

Free associating? I never experienced F-Droid before or since my scattered Cyanogen/LineageOS experiments. Honestly, I doubt I'm alone making that distinction (similar to how its hard to make a distinction between javascript and jquery when you're first learning)

Honestly I'm a little confused about the DIY mobile software landscape, and would love to get a minimalist, open-source wonderland mobile OS - and I wouldn't even mind if it was browser native, and neither should anyone else because WASM.

Post reply on HN