Live data from Hacker News

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

termux.com

61–70 of 217 posts

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

#61

Earlier quoted context omitted.

I recommend Librem 5: https://puri.sm/products/librem-5 . The company develops both hardware and software respecting the users. Upd: Video showing Librem 5 used as desktop: https://puri.sm/posts/a-librem-5-video-made-on-a-librem-5/

Does anyone have experience running Android apps in Anbox on this phone or the PinePhone?

https://puri.sm/posts/anbox-on-the-librem-5/

https://linmob.net/2020/08/15/anbox-on-the-pinephone.html

(both could already be outdated with the fast development rate).

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

#62
post #25

Earlier quoted context omitted.

It is great but slow and 32bit.

It’s not that slow...

It is. The design, somehow dictated by Apple constraints, makes it so.

I find it usable as a text editor, git client and ssh client, which is great really. Any lightweight CLI usage should feel great.

I was hoping to run go and python code locally, but even installing deps, not to mention running tests is unreliably slow.

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

#63

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

I rarely use it for more than ssh into work servers on the weekend, downloading videos, or testing code snippets. But it's really nice to be able to use normal iperf rather than looking for some Android application that wraps it and may or may not contain ads.

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

#64

Earlier quoted context omitted.

> in terms of hardware https://source.puri.sm/Librem5/community-wiki/-/wikis/Freque... Librem 5 has a number of features generally only found in high-end phones, such as USB 3, dual-role port, DisplayPort alt-mode, high resolution video out and a discrete audio DAC, but its CPU performance and its video processing capability are those of a low-spec phone from several years ago. For people who want to buy a phone that…

Literally from your own quote... >its CPU performance and its video processing capability are those of a low-spec phone from several years ago That's enough for me to decide the experience isn't on par with a flagship Android or iPhone - but that's not what it's trying to be. This isn't trying to be a phone - it's trying to be a mobile linux PC that you can also use as a phone and has the same form factor.

Yes, this is all true. I did not try to say you were wrong. But I'm curious, what are you going to do with it? Why do you need the high-end performance?

(It can even run 3D games: https://www.youtube.com/watch?v=S_HXQJkWjUQ)

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

#65

"This version requires Android 7.0 or newer." Termux is a great piece of software; I'd love if they would keep supporting older OS versions as well, since it's the kind of software one would keep on that old tablet to be used as a terminal or generally as a Swiss army knife.

I find things like termux most useful with network connectivity, and a device you can't update should never be connected to a network.

I find Termux most useful when I don't have connectivity. Two thirds of what I do in Termux could also be done over SSH, but I like keeping it local.

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

#66
post #14

Earlier quoted context omitted.

This takes some setup, but you can add ffmpeg and python, and from there youtube-dl. There's a url handler so I can download podcasts and other things by using the built in android share function from page links. People also use it on chromebooks for dev work that doesn't require low level compiling. I have seen NPM and webdev work being done using termux and I have seen people use it for Jupyter Notebooks too. It al…

What setup? I thought it was just `pkg i ffmpeg python && pip install --user youtube-dl`?

The setup I was focusing is creating a meaningful bash like script that runs when the URL is shared to Termux. I have also set up ways certain sites to have their audio stripped from the video, using ffmpeg and while basic, it does take about a couple hours to get things setup bug free in a way that's easy. Easy as in a two click, share -> termux and then just letting it run and it'll finish. And as other have mentioned, getting storage permissions right.

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

#67

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

A combination of general use and learning.

General: Using T-UI because I'm not a fan of modern touch UIs, but it is limited to Android functions like messages and launching apps. Anything beyond that (SSH, text editing, web calls, etc) I do through Termux. I wish I could combine the two more seamlessly, but it's effortless to switch between the two.

Learning: Wanted to learn to use vim. Termux provided simple vim access and vimtutor. I've also used Termux to freshen up on languages and write a few scripts. Namely, differences between Python2.7 to Python3 which I didn't look into until this year. Starting on C and/or Rust soon.

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

#68
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...

This is annoying but not actually a big deal; it is easy to work around this with a custom dynamic linker.

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

#69

"This version requires Android 7.0 or newer." Termux is a great piece of software; I'd love if they would keep supporting older OS versions as well, since it's the kind of software one would keep on that old tablet to be used as a terminal or generally as a Swiss army knife.

I'm currently using an Android 6 phone. Fortunately, it is still possible to use Termux on it. Some things are not available (extra repositories) but many things are still here.
Post reply on HN