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.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/b93933c0-0ea1-4bb1-8083-3bf5427457c2n%40googlegroups.com.

Reply via email to