It is very likely that sagemath installed by pacman from AUR uses the
system giac. But you can check the list of files installed by pacman for
sagemath.
pacman -Ql $package_name
if it includes a private copy of giac, it should appear in the list.
François
On 5/01/25 18:48, 'Nasser M. Abbasi' via sage-devel wrote:
I need to know which giac is used by sagemath when I do this command
sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.5, Release Date: 2024-12-04 │
│ Using Python 3.13.1. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: x=var('x')
sage: integrate(sin(x),x,algorithm="giac")
-cos(x)
sage:
In the above, is sagemath calling the system installed giac 1.9.0.998
in /usr/bin/giac or is it calling its own (internally) build giac into
the sagemath binary?
If it is calling its own giac, how to find the full version number?
I need to document which version of giac I am using and now I am not sure.
The problem is that giac 1.9.0 does not tell the exact version. As you
see from
https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/
source/ <https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/
stable/main/source/>
giac 1.9.0 was first released in April 2022, and 1.9.0.998 on December
12, 2024,
that is two years span. But both print 1.9.0 as version number !
So it is important to know the last 3 digits to know how old
or new is the giac used by sagemath.
Thanks
--Nasser
On Saturday, January 4, 2025 at 11:33:54 PM UTC-6 Nils Bruin wrote:
Are you interested in the giac that is used by a command like
"giac(1)"? That starts up a separate process, so if you use
something like "ps ax" you'll get a line like:
1936931 pts/11 Ssl+ 0:00 /usr/bin/giac --sage
which tells you which binary is running.
On Saturday, 4 January 2025 at 21:01:44 UTC-8 Nasser M. Abbasi wrote:
I am on arch linux, and I found that arch pacman package manager
has latest sagemath. So I do not have to build sagemath from
source, which is much easier.
So I used pacman to install sagemath 10.5 , also used it to
install giac.
The issue is that, I do not know if sagemath is using its own
builtin giac now or is it using the one I have also installed
using pacman on same linux.
Is there a way to find out the exact version of giac that
sagemath is using? Is it using one builtin internally inside
sagemath binary, or it is using the one I have on linux outside
of sagemath?
which sage
/usr/bin/sage
>sage --version
SageMath version 10.5, Release Date: 2024-12-04
>sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.5, Release Date: 2024-12-04
│
│ Using Python 3.13.1. Type "help()" for help.
│
└────────────────────────────────────────────────────────────────────┘
sage: print(giac.version())
"giac 1.9.0, (c) B. Parisse and R. De Graeve, Institut Fourier,
Universite Grenoble Alpes. Optimization, signalprocessing, graph
theory (c) Luka Marohnić"
sage: exit()
>which giac
/usr/bin/giac
>giac --version
1.9.0
>
The problem is that pacman actually installed giac 1.9.0-998,
even though the version says 1.9.0 (this is because giac does
not update the last 3 digits in the version number).
>pacman -Q| grep giac
giac 1.9.0.998-1
>
And this is the latest giac version.
I'd like to know if sagemath binary is using its own giac or is
it using the system one, which is 1.9.0.998
Thanks
--Nasser
--
You received this message because you are subscribed to the Google
Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sage-devel+unsubscr...@googlegroups.com <mailto:sage-
devel+unsubscr...@googlegroups.com>.
To view this discussion visit https://groups.google.com/d/msgid/sage-
devel/b9042c7d-53c5-4693-8985-0c3ff718ae4bn%40googlegroups.com <https://
groups.google.com/d/msgid/sage-devel/
b9042c7d-53c5-4693-8985-0c3ff718ae4bn%40googlegroups.com?
utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/sage-devel/e78d061f-1857-49c8-b37d-1aabc28523b5%40gmail.com.