Installer SCENARIchain 4.1 sur Linux avec le script SCI

Pour les distributions non basées sur Debian, un script d'installation des applications SCENARI est proposé. Celui-ci permet l'installation et la mise à jour des applications en une seule ligne de commande.

Vous pouvez télécharger ce script à cette adresse : http://scenari-platform.org/svn/sci/trunk/sci.sh

Pour installer l'application SCENARIchain 4.1, procédez comme suit :

  1. Récupérez et rendez exécutable le script SCI.

    user@computer:~$ wget http://scenari-platform.org/svn/sci/trunk/sci.sh

    user@computer:~$ chmod +x sci.sh

  2. Lisez l'aide.

    user@computer:~$ ./sci.sh -h

    Aide de SCI
    1
    user@computer:~$ ./sci.sh -h
    2
    Linux SCENARI application installer & setup (version v3.0.1)
    3
    4
    sci.sh downloads and installs requested SCENARI applications.
    5
    Usage: sci.sh OPTION -a (builder|chain|client|demo|kit|styler)
    6
    7
    By default sci.sh will attempt to install applications system-wide and as such
    8
    requires the current user to be a sudo user that has root access
    9
    to /opt and /usr. Should this not be the case, either use the -u option to
    10
    perform a local user installation or the -r option to perform a system-wide
    11
    installation using the su command requiring the root password.
    12
    13
    OPTIONS:
    14
    15
    Application name (required):
    16
      -a  Provide the name of the application to download and install:
    17
          * builder  Download and install SCENARIbuilder.
    18
          * chain    Download and install SCENARIchain.
    19
          * client   Download and install SCENARIclient.
    20
          * demo     Download and install SCENARIdemoserver.
    21
          * kit      Download SCENARIkit to the current directory.
    22
          * styler   Download SCENARIstyler to the current directory.
    23
    24
    Installation options (optional)
    25
      -n  Nightly build: sci.sh will install the latest nightly build of the
    26
          application that you request. If this switch is not present sci.sh
    27
          will install the latest stable version.
    28
      -c  Clean download and install: delete any previously attempted downloads
    29
          before starting the download & install process.
    30
      -d  Download only, do not install.
    31
      -f  'force' mode: the installer does not interact with the user, all default
    32
          choices are used. If the application is already installed it will be 
    33
          replaced. This is basically equivalent to pressing return for each 
    34
          question the the installer normally asks the user.
    35
      -u  Local user installation: sci.sh will install the application in the
    36
          current user's home directory.
    37
      -r  System-wide installation using the su command requiring the root password.
    38
          This option should be used if you are not a sudo user but have root access
    39
          though the su command.
    40
      -v  Version of SCENARI to install: 4.0, 4.1 (default 4.1).
    41
    42
    Language selection (optional)
    43
      -l  Request a specific language.
    44
          * en-US  Download and install English versions if possible (default)
    45
          * fr-FR  Download and install French versions
    46
    47
    Copyright (c) 2007-2015 samuel.monsarrat@kelis.fr
    48
  3. Lancez l'installation de SCENARIchain.

    user@computer:~$ ./sci.sh -a chain -v 4.1 -l fr-FR