what is the command that returns the version number of Fricas?

10 views
Skip to first unread message

Nasser M. Abbasi

unread,
Jun 22, 2022, 8:07:34 AM6/22/22
to FriCAS - computer algebra system
I wanted to verify that sagemath is calling the correct Fricas version on my PC. But the command from sagemath   

    sage: print(fricas.version())

gives an error, because Fricas has no command version().

I searched Fricas PDF book and googled but so far no luck.

Is there a command for this? All other cas systems I am using have such command but can't find the one for Fricas so far.

Thanks
--Nasser

Qian Yun

unread,
Jun 22, 2022, 8:15:59 AM6/22/22
to fricas...@googlegroups.com
This should work:

fricas.eval(")lisp |$build_version|");

- Qian

On 6/22/22 20:07, 'Nasser M. Abbasi' via FriCAS - computer algebra

Nasser M. Abbasi

unread,
Jun 22, 2022, 8:19:42 AM6/22/22
to FriCAS - computer algebra system
Thanks. That worked

sage: print(fricas.eval(")lisp |$build_version|"))

Value = "FriCAS 1.3.8"
sage:

Ralf Hemmecke

unread,
Jun 22, 2022, 8:25:45 AM6/22/22
to fricas...@googlegroups.com
In fricas this also works:

systemCommand("version")$MoreSystemCommands

It is the same as typing

)version

inside a fricas session.

You just have to translate it to SageMath.

Ralf
Reply all
Reply to author
Forward
0 new messages