The reason why it is no longer available from Play Store is that it won't abide by the security rules of public/private Android APIs, so it has to be manually worked around.
Also since Linux APIs aren't part of stable userspace guarantees for the NDK, and bionic isn't GNU libc, there is room for plenty of surprises when trying to pretend Android/Linux is just like GNU/Linux.
> NOTICE: Termux may be unstable on Android 12+. Android OS will kill any (phantom) processes greater than 32 (limit is for all apps combined) and also kill any processes using excessive CPU. You may get [Process completed (signal 9) - press Enter] message in the terminal without actually exiting the shell process yourself. Check the related issue #2366, issue tracker, phantom cached and empty processes docs and this TLDR comment on how to disable trimming of phantom and excessive cpu usage processes. A proper docs page will be added later. An option to disable the killing should be available in Android 12L or 13, so upgrade at your own risk if you are on Android 11, specially if you are not rooted.
Also since Linux APIs aren't part of stable userspace guarantees for the NDK, and bionic isn't GNU libc, there is room for plenty of surprises when trying to pretend Android/Linux is just like GNU/Linux.
https://github.com/termux/termux-app
> NOTICE: Termux may be unstable on Android 12+. Android OS will kill any (phantom) processes greater than 32 (limit is for all apps combined) and also kill any processes using excessive CPU. You may get [Process completed (signal 9) - press Enter] message in the terminal without actually exiting the shell process yourself. Check the related issue #2366, issue tracker, phantom cached and empty processes docs and this TLDR comment on how to disable trimming of phantom and excessive cpu usage processes. A proper docs page will be added later. An option to disable the killing should be available in Android 12L or 13, so upgrade at your own risk if you are on Android 11, specially if you are not rooted.