I run scipy and numpy on my phone with it. A bit painful because I can only see about six lines of code at a time but I wrote a few thousand lines of ML code with vim on my cell phone in the last two months.
I run scipy and numpy on my phone with it. A bit painful because I can only see about six lines of code at a time but I wrote a few thousand lines of ML code with vim on my cell phone in the last two months.
Termux still has a host of limitations and weaknesses which are imposed by the Android environment itself, including being capriciously killed by the OS, lack of multiple users, blocked access to most of the filesystem, and a relatively limited (though impressively growing, I have to admit) set of utilities. At last check, this includes X11 utilities and at least some of TeX, both quite formidable.
I'll note that Termux has about 1/3 the package count of RHEL / CentOS. It's not everything, but for a mobile distro, it's quite good.
That said:
1. Thanks for the Arch suggestion. I'll take a look at that. Root required?
2. Even with a full-fledged distro installed, if you're running unrooted Android you're still grossly crippled by the overarching (so to speak) Android system in terms of filesystem and process management and interference.
I was also able to get a decent Ubuntu distribution including a desktop environment running on a non-rooted device, even got Blender to render the popular BMW demo, though that took a while.
Eventually I'm sure even AOSP will stop supporting the older Android SDKs too.
https://wiki.termux.com/wiki/Termux_Google_Play
It just worries me because I love termux so much and it casts a shadow over its future.
The Android way would be to publish all packages individually on the app store. Termux has tens of thousands of packages. This would simply be insane and Google wouldn't permit it.
But a bigger problem is that an app is not allowed to modify its own files anymore, and is not allowed to run executables from 'data' storage. This is much harder to work around:
https://wiki.termux.com/wiki/FAQ
Even if they work around the execve thing, Google will probably refuse them in the store when they run executables not included in the APK. And the question is what will be locked down in future Android versions. Android 12 is already iffy according to the above FAQ. That's why I'm worried about it
Fwiw: I don't think Google is actively trying to kill it, no. But it's just not something needed for most apps so they don't want to facilitate it.
My most recent Android device (purchased under protest) is an Onyx BOOX e-book reader running Android 11.
I have Google Play entirely disabled, rely on FDroid for most app installs, another 2--3 from Aurora.
(In general, I avoid installing apps at all.)
Termux is installed, runs, and updates. I just completed a package update a few minutes ago.