Pour être validée, votre inscription doit respecter le format suivant :

identifiant : prenom.nom
courriel : adresse académique ou collectivité

En vous remerciant pour votre participation.
 
simon.bernard

Xcas : Le couteau suisse des Mathématiques

09 janv. 2017 11:43

Image

Logiciel : Xcas
Développeur : Bernard Parisse
Type de licence : Libre
Compatible XP : Oui
Compatible Win7 : Oui
Existe aussi sous Linux : Oui
Version : 1.1.0  


Xcas est un système de calcul formel libre. Voici ses fonctionnalités :
- calcul formel: arithmetique, integration, derivation, limites, ...
- graphes de fonction, paramétrique, dans le plan et l'espace
- tableur et statistiques: calcul approché et exact
- geometrie interactive: dans le plan et l'espace
- programmation
- tortue logo
- aide en ligne : documentation entièment en francais, index des fonctions, syntaxe, exemples, recherche par mot clef, complétion.
- éditeur d'équation : affichage 2-d des expressions, possibilité de travailler sur des sous-expressions.
- unité physiques : opérations usuelles et conversion

Aperçu de l'interface :
Image

Créer un fichier unattended.cmd et y coller cela :

@echo off

set BINARY=xcasinst.exe
set INSTALLER_LOC=%~dp0
set EXIT_CODE=0
set PROG_FILES=%ProgramFiles%

if not "%ProgramFiles(x86)%" == "" set PROG_FILES=%ProgramFiles(x86)%

call "%INSTALLER_LOC%unattended-uninstall.cmd"

start /wait "XCAS" "%INSTALLER_LOC%%BINARY%" /S /NCRC /D=%PROG_FILES%\xcas

set EXIT_CODE=%ERRORLEVEL%

exit /B %EXIT_CODE%


Créer un fichier unattended-uninstall.cmd et y coller ceci :

@echo off

set PROG_FILES=%ProgramFiles%

if not "%ProgramFiles(x86)%" == "" set PROG_FILES=%ProgramFiles(x86)%

set INSTALLER_LOC=%~dp0
set DIR=%PROG_FILES%\xcas
set UNINSTALLER=%DIR%\uninstall.exe
set OPTIONS=/S

if not exist "%UNINSTALLER%" goto good_end

start /wait "Xcas uninstall" "%UNINSTALLER%" %OPTIONS%

REM Unfortunately the uninstaller seems to fork a child process and the parent
REM process exits immediately. So give it some time to uninstall
for /L %%C IN (1,1,30) DO (
  if not exist "%UNINSTALLER%" goto good_end
  ping -n 2 127.0.0.1 > NUL
)

:bad_end
exit /B 1

:good_end
if exist "%DIR%" rmdir /s /q "%DIR%"
if exist "%DIR%_" rmdir /s /q "%DIR%_"
exit /B 0


Créer enfin le package XML :

<package
  id="Xcas"
  name="Xcas : Le couteau suisse des Mathematiques"
  revision="%version%.1"
  priority="50"
  reboot="false">

 <variable name="version" value="1.1" />
 <variable name="version_longue" value="1.1.0" />
 <variable name="PROGRAMFILES" value="%PROGRAMFILES%" architecture="x86"/>
 <variable name="PROGRAMFILES" value="%PROGRAMFILES(X86)%" architecture="x64"/>
 <variable name="ComSpec" value="%SystemRoot%\System32\cmd.exe" architecture="x86"/>
 <variable name="ComSpec" value="%SystemRoot%\SysWOW64\cmd.exe" architecture="x64"/>    

<eoledl dl="http://www-fourier.ujf-grenoble.fr/~parisse/giac/xcasinst.exe" destname="math/xcas/xcasinst.exe" />

<check type="uninstall" condition="exists" path="Xcas %version_longue% - Computer Algebra System" />
<check type="file" condition="sizeequals" path="%PROGRAMFILES%\xcas\xcas.exe" value="20681693" />

<install cmd='%SOFTWARE%\math\xcas\unattended.cmd'/>

<upgrade include='remove' />
<upgrade include='install' />

<downgrade include='upgrade' />

<remove cmd='%SOFTWARE%\math\xcas\unattended-uninstall.cmd'/>

</package>


Les 2 fichiers .cmd doivent être avec le binaire xcasinst.exe dans le dossier software et le package (Xcas.xml) dans le dossier packages.

Installation sous (x)Ubuntu :
wget -q -O - http://www-fourier.ujf-grenoble.fr/~parisse/xcas_public_key.gpg | sudo apt-key add -
sudo sh -c 'echo "deb http://www-fourier.ujf-grenoble.fr/~parisse/debian/ stable main" >> /etc/apt/sources.list.d/giac-xcas.list'
sudo apt-get update ; sudo apt-get install giac

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 18 invités