On Wed, 29 Nov 2023, Qian Yun wrote:
You can run with "fricas -nosman" so that /tmp is not required.
Yes! Thank you very much.
fricas -nosman
works fine. And this is all what's needed in command-line termux (I never
tried to run X programs in termux, it is possible, but requires some work;
I think on a phone or tablet it's not really useful).
termux predefines several env variables for user's convenience.
$PREFIX = /data/data/com.termux/files/usr
should be used instead of /usr everywhere.
$TMPDIR = $PREFIX/tmp
should be used instead of /tmp. termux is a single-user system, its user
is always root, so, all directories are writable.
I think it would be good to use $TMPDIR if it's defined, otherwise to fall
back to /tmp. This may be useful in various situations (like prefix Linux
installations inside another OS).
Many thanks to Qian for such a wonderful thing as FriCAS running in one's
phone or tablet!
Andrey
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/ad65b7c-43b8-eef-ceda-4e0132c4f73%40starnew.inp.nsk.su.