Navigate: version francaise,
Back to Giac/Xcas main page
Getting Xcas (1.9.0)
Download Xcas for :
- Android,
- iOS,
- Windows,
- Mac OS X,
- Linux debian/ubuntu,
- Linux rpm (Fedora...),
- archlinux,
- Linux binaries,
- Free BSD,
- Casio fx-CG10, fx-CG20 et fx-CG50 and Fx-9750GIII, Fx-9860GIII,
- Numworks N0110,
- TI Nspire,
- Linux ARM,
- Windows CE,
Once Xcas is installed, you can choose between
xcas (graphical interface)
and giac (text interface).
- 1.9.0-49: Univariate polynomials rootfinder enhancements
- 1.9.0-47: Spanish translation enhancements by compsystems
- 1.9.0-23: English documentation new layout/fixes by Luka Marohnić
- 1.9.0-13: improvements by Luka Marohnić mainly in nlpsolve
(implements now a fast and robust interior-point algorithm,
alongside Nelder-Mead and differential evolution methods for derivative-free optimization)
and global minimization of a continuous function on a segment (find_minimum).
Integration of the 3d renderer for calculators, gives now an simpler alternative
to OpenGL (useful if OpenGL inside Xcas raises bugs like black screen).
- 1.9.0-5: compatibility with new Numworks calculator bootloader
- version 1.7.0-43: changing interpreter in Xcas web is now much easier,
improved Numworks connectivity
- version 1.7.0-25: improvements and fixes by Luka Marohnić
in graph theory commands, better graphs inside texmacs
- version 1.7.0-19: Numworks connectivity (Windows and Linux)
- version 1.7.0-13 and 17:
polynomial system solver optimizations (rational univariate
representation computation and real root isolation)
- version 1.7.0: Javascript interpreter added: QuickJS
- version 1.6.17:
compatibility with calculators (KhiCAS sessions for Numworks, TI nspire CX),
inclusion of a MicroPython interpreter (with builtin modules for teaching),
you can switch interpreter by typing
python or xcas in an empty commandline.
- version 1.6.0:
Improved FFT over finite field, half-GCD implementation.
- version 1.5.0 :
graphtheory, signalprocessing by Luka Marohnic,
LambertW function,
some optimizations and improvements
- version 1.4.9 (March 2018)
Python compatibility mode,
improved interface for Firefox
new optimizations commands written by Luka Marohnic,
English user manual corrected by Jay Belanger.
- version 1.2.3 (july 2017) some speedups and bug fixes
- version 1.2.2 (december 2015) improved Groebner basis engine
- version 1.2.0 (may 2015): sparse matrices (inside tables) and
a few related linear algebra algorithms.
- version 1.1.4 (february 2015):
some improvements in numeric linear algebra (for
example linsolve now accepts the LU decomposition as
argument for faster linear system solving)
- version 1.1.3 (december 2014):
New functions for sound: soundsec, playsnd, and simplification
for writewav. fft now calls GSL if available and is therefore
faster.
- version 1.1.2 (september 2014):
Rational univariate representation for solving polynomial systems
efficiently. Fast modular Groebner basis engine (already there
in recent 1.1.0).
Interval arithmetic.
- version 1.1 (july 2013):
more commands for probability and statistics. Many bug fixes.
Adaptive numeric integration.
- version 1.0 (november 2012):
syntaxic coloration in commandlines.
- version 0.9.9:
easier construction of non-prime finite fields (GF),
optimizations for determinant/inverse of matrices with integer coefficients
(for example det(hilbert(100)) takes 0.56s on an AMD 64 bits at 2.8_GHz).
-
version 0.9.8:
quadratic sieve for factoring integers from 40 to 77 digits
(speed between PARI and msieve/yafu)
- version 0.9.5: lapack support
- version 0.9.4: access to matrices starting at 1 instead of 0 in
Xcas mode with double-brackets, e.g. M[[1,2]].
Enlarge/Shrink program editor with F5/F6.
The reference card is now installed (instead of online).
- version 0.9.3: some commands now accepts function, for example
f(x):=sin(x)*x; g:=f'
- version 0.9.0:
New item in Help->Internet: reference card
Documentation is now translated from LaTeX using hevea
instead of latex2html: size as decreased with similar
rendering quality
New algorithms implemented for GCD and factorization of multivariate
polynomials, resulting in sometimes significant speedup for many
simplifications.
The windows version is compiled with the latest cygwin version (1.7),
it is no more compatible with windows version older than XP.
-
The recommended way to run Xcas (if your smartphone is not too old) is
to install Firefox for Android from Google Play, then open
Xcas online offline (this will also work
with the default Chrome browser, but computations are faster and
2d rendering is better with Firefox).
-
On Google Play, there is a free application for tablets
(does not work on some old smartphones)
based on giac, named
Xcas Pad,
written by Leonel Hernandez.
-
An interface in alpha version for Android tablets and smartphone, written by
Thomas Luka. It is not yet ready for the Google play, but you can
download this file on your
tablet or smartphone, then use a file manager to change the
extension to .apk (since the browser has changed the extension),
then execute it. Or if you have the Android SDK, download the file
to your host, connect your device and run the command
adb install Androcas-debug.apk.
-
A free app to isolate real roots of polynomial is available
here.
This application was written by Antonis Berkakis under the supervision of
Alkiviadis G. Akritas and is offered by the University of Thessaly, Greece.
It should be possible to install Firefox for iOS (like for Android), and
open Xcas online offline (sorry I don't have
ios smartphone or tablet to test myself).
There is also an experimental port of the
Xcas Pad application
by Leonel Hernandez.
A non free version of Giac (dual licensed)
is included in the following applications
-
PocketCAS for iPhone/iPad
by Daniel Alm
-
A free app to isolate real roots of polynomial is available
here.
This application was written by Spyros Kehagias under the supervision of Alkiviadis G. Akritas and is offered by the University of Thessaly, Greece
Download the installer:
-
64 bits mingw (1.9.0 2023/04),
64 bits cygwin (1.9.0 2023/04),
32 bits (1.9.0, 2022/09).
The 64 bits version is incompatible with some versions of Windows,
if Xcas crashes try the 32 bits version instead.
-
old stable (1.2.3, March 2017):
HTTP
Remarks :
-
If you experience a black window while running 3d commands (like plane(z=0))
try to disable hardware acceleration (search with your favorite engine
windows disable hardware acceleration).
-
Xcas should work on all versions of Windows from Windows XP
to Windows 8, but some people have reported problems
with Windows 8 for 3d.
If this
happens to you, a partial solution is to get a linux
live CD like
clef agreg
(F. Boisson).
-
Windows 98 users should replace the 0.8.6 old stable
executables inside Xcas install
directory by the files of this archive.
-
If you want preview support, please install
Ghostscript
and GSview
(there are two packages too install)
-
Since version 0.6.3 of Xcas for Windows, the
xcas.exe binary is linked to a DLL (giac.dll), hence
the standalone text version icas.exe has been
added, and Cygwin developers may use giac.dll to include symbolic
functions in their C++ programs.
-
For Mac OS 11.6, get this package, maintained by Leonel Hernandez.
-
On Mac OS X.10, it is recommended to install this
version
(without Qcas and with Python 2.7 module
only).
-
For Mac OS X.6,7,8,9(,10), get this
version
Click on the package, it should install in Applications.
- For OS X.11 and greater, or if you are doing 3d graphs,
you can also run the browser interface
(you can install it locally as explained on the page).
-
Once installed, you can run Xcas from Applications, usr, bin.
- If the installer requires a password that you do not have,
you can install Xcas by hand like this
cd /Applications
mkdir usr
cd usr
tar xvf /Volumes/xcas_osx6/xcas.pkg usr.pkg/Payload
tar xvf usr.pkg/Payload
The path to xcas.pkg may be different on your Mac.
-
If you prefer to install Xcas in another folder, for example
/Applications/xcas instead of /Applications/usr,
you need to set two environment variables to access to the
documentation and locale menus
export XCAS_ROOT=/Applications/xcas/share/giac/
export XCAS_LOCALE=/Applications/xcas/share/locale/
-
The package also contains a commandline version
(compiled for 64 bits, therefore faster),
it can be run from a Terminal by the command
/Applications/usr/bin/icas
-
The package contains the giacpy module, for Python programmers.
You can install it from the File, Make links menu inside Xcas,
or by running from a Terminal the commands
sudo cp -f /Applications/usr/lib/python2.7/site-packages/giacpy*egg-info /Library/Python/2.7/site-packages/
sudo ln -sf /Applications/usr/lib/python2.7/site-packages/giacpy.so /Library/Python/2.7/site-packages/giacpy.so
-
For Mac OS X.4 and 5, get this old disk image
HTTP.
Click on the package inside the disk image,
it should install Xcas in Applications.
Warning: If you have an old Mac PPC where
Xcas for OS X.3 was already installed, follow the instructions
here.
There is no problem if you make a fresh install.
Xcas for Linux
Incompatibility with Unity
It has been reported than Xcas does not work correctly
(crash, keystrokes
not recognized...) under some versions of Unity
(default window manager in recent Ubuntus).
If you experience these problems, it
is recommended to switch to an alternate window manager like
Gnome, Xfce, Icewm, ...
Xcas is using OpenGL capabilities for 3-d graphs and 3-d geometry,
therefore you must check that your Xserver is correctly configured.
If acceleration is supported for your videocard, check that the
dri module is loaded in /etc/X11/xorg.conf or
/etc/X11/XF86Config-4. If Xcas freezes on a command
like plan(z=0), remove dri loading or install
the correct drivers for your video card, or disable acceleration
for example on Debian 7:
sudo apt-get install libgl1-mesa-swx11
This package does not exist on Debian 9. Workaround:
copy libGL.so.1 (64 bits)
in a directory, say /opt/lib, then you can run
xcas from a Terminal with the commands:
export LD_LIBRARY_PATH=/opt/lib
xcas &
If you have transparency problems with Xfce, run xfce-settings-manager
and disable composition in windows.
Fedora now includes a giac package.
- Recent Debian/Ubuntu distributions
Open your favorite package manager and search for xcas.
The version is not necessarily the most recent one, therefore you might want to install
Xcas manually.
-
If you have problems with 3d commands,
please check the note above.
- Ubuntu 20: download
giac
and giac dbgsym,
then from a Terminal issue the following command
sudo dpkg -i Downloads/giac*deb && sudo apt-get -f install
- Debian 10: download
giac and
dbgsym
then from a Terminal issue the following command
sudo dpkg -i Downloads/giac*deb && sudo apt-get -f install
- Other:
Type the command
sudo add-apt-repository
"deb http://www-fourier.univ-grenoble-alpes.fr/~parisse/debian/ stable main"
Or add the line
deb http://www-fourier.univ-grenoble-alpes.fr/~parisse/debian/ stable
main
in the file /etc/apt/sources.list. On Ubuntu, replace stable
by testing. Then run
sudo apt-get update
Now you can install or upgrade by running
sudo apt-get install giac python-giacpy
(python-giacpy is optionnal, it's for Python programmers support).
If install fails, with old distributions, you can try old instead
of stable in
/etc/apt/sources.list and run again both commands.
If install fails because of libpng12 dependency on Ubuntu, add
deb http://fr.archive.ubuntu.com/ubuntu xenial main
to /etc/apt/sources.list.
If you do not want to get warning messages about invalid/unknown
key, download the
Xcas public GPG key
and run the following
command in a terminal from the directory where you
stored the key
sudo apt-key add xcas_public_key.gpg
-
If you want to test the latest version, use the following line instead
deb http://www-fourier.univ-grenoble-alpes.fr/~parisse/debian/ testing
main
-
If it does not work, try to install one or more packages
as explained below.
-
all in one package (i386, 1.9.0, compiled on Ubuntu 12.04)
HTTP
-
all in one package (x64, 1.9.0)
HTTP
To install type
sudo dpkg -i *giac*.deb
-
If dpkg complains about missing packages, check the package names
and issue an apt-get command like
sudo apt-get install libstdc++5
-
If you have an error reporting that libreadline.so.5 is missing,
install it (sudo apt-get install readline5) or
if readline is already installed (e.g. version 6), type the commands
cd /usr/lib; sudo ln -s libreadline.so.6 libreadline.so.5 ; sudo ldconfig
-
Carlos Enriqe Carleos Artime
made the first giac packages.
Please check the note above.
You may need to install additional packages, e.g. on Fedora 17
sudo yum install gsl libpng-compat, before you can
run sudo rpm -U giac*rpm from the directory where
you downloaded the RPM.
Packages
maintained by Antonio Rojas.
-
Version 1.0 for i386: here.
Unarchive e.g. from /usr/local.
They may require some environment variable changes
-
export LD_LIBRARY_PATH=/usr/local/lib
(replace /usr/local with the actual path)
-
export XCAS_ROOT=/usr/local/bin
(replace /usr/local with the actual path)
-
export XCAS_HELP=/usr/local/share/giac
(replace /usr/local with the actual path)
- For recent binaries, go to
Frederic Han
Xcas page.
-
Old binaries up to version 0.8.6:
Please check the note above.
-
Linux root with internationalization support
HTTP.
Install as root: first edit /etc/ld.so.conf and add
the two lines
/usr/lib then /usr/local/lib. Now run
cd / ; tar xvfz ~/xcas_root.tgz ; ldconfig
After install, type
xcas &
If the previous link does not work, another
version (updated from time to time) is available
here.
Note that these binaries do not support dynamic module
only, use Debian packages above or compile the source if you need
them.
Install the KhiCAS addin for the Prizm
or install 2 files khicas50.g3a and
khicas50.ac2 on your FXCG50
or install
khicasen.g1a on your Fx-9750GIII
calculator. You can now run most Xcas commands on your calculator,
CAS and programming commands, including Python syntax compatibility.
Beware, if you are testing on the emulator, the 2 files for the FXCG50
are emucas50.g3a and
khicas50.882.
Documentation: HTML,
PDF.
Thanks to Sébastien Michelland and Camille Gaspard for help porting Giac to the Casio.
Beware: do not upgrade your Numworks on Numworks website, it would lock your calculator
Install
KhiCAS
(requires a web-usb compatible browser like Chromium). Works only if your Numworks N0110
is not locked (check in Settings that Epsilon version is smaller or equal to 15.5).
Documentation (French).
You can also make a local install.
Thanks to Damien Nicolet for porting newlib, and interfacing Giac with Epsilon (external
apps support).
-
Khicas for most TI Nspire CX and CX-II,
For those with a so-called 240x320 screen, like CX HW-W, please use
this archive.
Copy the ndless directory from the archive into your calculator with TI connectivity
kit. Run the ndless installer corresponding to your OS once. Then run
khicas (math+programming in a shell) or khicaslua (math only).
For more information on ndless, see
CX or
CX II
-
For monochrom nspire, you can install
this light version.
Warning: do not use khicas during exams if CAS calculators are banned.
For interested developers, install the ndless-sdk toolchain with
newlib, compile GMP/MPFR/MPFI, then get the latest giac source,
copy config.h.nspire to config.h and Makefile.nspire to Makefile.
For the black and white version, install the Ndless SDK,
then additional libs/headers
(modified versions of
nspire-io,
USTL,
tommath)
and the giac source code.
Thanks to Xavier Andréani and Adrien Bertrand for the LUA interface.
For smartbooks with a Ubuntu 10.10 ARM compatible version, follow
the same instructions as for Intel debian packages.
Daniel Alm provides a free for non-commercial use (not open-source)
interface and binaries based on Giac. See on his
site or click on this
direct link
if you want to download the binary without interface.