.. _spkg_giac:

giac: A general purpose computer algebra system
===============================================

Description
-----------

-  Giac is a general purpose Computer algebra system by Bernard Parisse.
   It consists of:
-  a C++ library (libgiac).
-  a command line interpreter (icas or giac).
-  the built of the FLTK-based GUI (xcas) has been disabled in the
   spkg-install file.

-  The english documentation will be installed in:

   $SAGE_LOCAL/share/giac/doc/en/cascmd_en/index.html

-  Author's website with debian, ubuntu, macosx, windows package:

   http://www-fourier.ujf-grenoble.fr/~parisse/giac.html

-  The Freebsd port is math/giacxcas

Licence
-------

GPLv3+

Note: except the french html documentation which is freely
redistributable for non commercial only purposes. This doc has been
removed in the Sage package, see spkg-src


Upstream Contact
----------------

-  Bernard Parisse:
   http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
-  Source file (giac-x.y.z-t.tar.gz) in:

   http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/

Dependencies
------------

-  gettext, readline
-  giac will benefit of ntl, pari, mpfr, gsl, lapack but they should be
   already installed by sage.
-  giac can also benefit of mpfi for arithmetic on intervals.
-  The Documentation is pre-built, hevea or latex or ... are not needed
   to install the package.


Special Update/Build Instructions
---------------------------------

-  Use spkg-src to update this package

Type
----

optional


Dependencies
------------

- $(MP_LIBRARY)
- :ref:`spkg_cliquer`
- :ref:`spkg_curl`
- :ref:`spkg_ecm`
- :ref:`spkg_glpk`
- :ref:`spkg_gsl`
- :ref:`spkg_libpng`
- :ref:`spkg_mpfi`
- :ref:`spkg_mpfr`
- :ref:`spkg_ntl`
- :ref:`spkg_pari`
- :ref:`spkg_readline`

Version Information
-------------------

package-version.txt::

    1.9.0.15p0


Equivalent System Packages
--------------------------

.. tab:: Arch Linux

   .. CODE-BLOCK:: bash

       $ sudo pacman -S giac 


.. tab:: conda-forge

   .. CODE-BLOCK:: bash

       $ conda install giac 


.. tab:: Debian/Ubuntu

   .. CODE-BLOCK:: bash

       $ sudo apt-get install libgiac-dev xcas 


.. tab:: Fedora/Redhat/CentOS

   .. CODE-BLOCK:: bash

       $ sudo dnf install giac giac-devel 


.. tab:: FreeBSD

   .. CODE-BLOCK:: bash

       $ sudo pkg install math/giacxcas 


.. tab:: Nixpkgs

   .. CODE-BLOCK:: bash

       $ nix-env --install giac 


.. tab:: openSUSE

   .. CODE-BLOCK:: bash

       $ sudo zypper install giac-devel 


.. tab:: Void Linux

   .. CODE-BLOCK:: bash

       $ sudo xbps-install giac-devel 



See https://repology.org/project/giac/versions

If the system package is installed, ``./configure`` will check if it can be used.

