Skip to main content

Installation and update guide

In the following we describe the three main steps for a successful ELAN installation that also includes installing a few external libraries used by ELAN. Note that, as part of future updates, we also plan to provide ELAN installation packages (RPM and DEB) that will further simplify the installation procedure.

  1. Download ELAN archive :
    Go to the download page and select the archive according to your Linux distribution and architecture.
  2. Dependencies :
    ELAN uses some external libraries. Before installing ELAN, you must solve the following dependencies :
    OpenMotif, LAPACK, libquicktime, libjpeg, libxml2.
    Note that some of these libraries are commonly installed by default or might have been already installed on your system.
    1. Dependencies installation for Fedora 12, 14 (32 and 64 bits) :
      First, you must enable the RPM Fusion repositories (free and non free) for OpenMotif and libquicktime. For this, run as root the commands below :
      rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
      rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

      Then you can install the libraries, using the following command :
      yum -y install libquicktime gsl lapack openmotif libjpeg libxml2

      Note that, if some libraries are already installed on your machine, they will not be installed again.

    2. Dependencies installation for Ubuntu 10.04 and 10.10 (32 and 64 bits) :
      GSL, libxml2 and libjpeg are installed by default.
      For OpenMotif installation, you must enable the multiverse repository (edit /etc/apt/sources.list and uncomment lines ending with multiverse). Next, refresh the cache of the repositories with the command :
      sudo apt-get update
      Then, you can install the library:
      sudo apt-get install libmotif3
      and Libquicktime:
      sudo apt-get install libquicktime1
      Finally, install the LAPACK library:
      sudo apt-get install liblapack3gf
    3. Dependencies installation for Ubuntu 11.04 and 11.10 (32 and 64 bits) :
      GSL, libxml2 and libjpeg are installed by default.
      For OpenMotif installation, you must enable the multiverse repository (edit /etc/apt/sources.list and uncomment lines ending with multiverse). Next, refresh the cache of the repositories with the command :
      sudo apt-get update
      Then, you can install the library:
      sudo apt-get install libmotif4
      and Libquicktime:
      sudo apt-get install libquicktime1
      Finally, install the LAPACK library:
      sudo apt-get install liblapack3gf
    4. Dependencies installation for Ubuntu 12.04 and 12.10 (32 and 64 bits) :
      GSL, libxml2 and libjpeg are installed by default.
      For OpenMotif installation, you must enable the multiverse repository (edit /etc/apt/sources.list and uncomment lines ending with multiverse). Next, refresh the cache of the repositories with the command :
      sudo apt-get update
      Then, you can install the library:
      sudo apt-get install libmotif4
      and Libquicktime:
      sudo apt-get install libquicktime2
      Finally, install the LAPACK library:
      sudo apt-get install liblapack3gf
    5. Dependencies installation for Debian 5.0.7 (32 and 64 bits) :
      GSL, libxml2 and libjpeg are installed by default.
      Log in as root.
      For OpenMotif installation, you must enable the non-free repository (edit /etc/apt/sources.list and add the string non-free to the end of each server line). Next, refresh the cache of the repositories with the command :
      apt-get update
      Then, you can install the library:
      apt-get install libMotif3
      and Libquicktime:
      apt-get install libquicktime1
      Finally, install the LAPACK library:
      apt-get install liblapack3gf
    6. Dependencies installation for OpenSuse 11.3 (32 and 64 bits) :
      libjpeg is installed by default.
      Log in as root. Install the missign libraries with the following commands :

      zypper install openmotif
      zypper install libquicktime
      zypper install libxml2
      zypper install liblapack3
      zypper install gsl

  3. ELAN installation :
    In the following, the installation directory will be referred to as INSTALL_DIR, the directory where the archive as been downloaded as SRC_DIR, and the archive as ARCH_FILE.
    (For example : if you want to install ELAN to the directory /usr/local, you will simply need to replace INSTALL_DIR in the commands below by /usr/local )

    Important: If you are running a Ubuntu Linux distribution, add "sudo" to the beginning of all the commands below (e.g. sudo cd /INSTALL_DIR). If you are running one of the other Linux distributions (Debian, Fedora, etc.), log in as root in order to execute the commands.

    1. Go to INSTALL_DIR :
      cd /INSTALL_DIR
    2. Extract the archive (i.e. copy the files) :
      tar xvfz SRC_DIR/ARCH_FILE
    3. Change the owner and group of the newly created files (they are 201:200 by default) :
      chown -R user:group Elan
      where user and group are valid user name and group name.
    4. Define the ELANPATH environment variable, by adding at the end of the /etc/profile file :
      export ELANPATH=INSTALL_DIR/Elan
    5. Add ELANPATH/bin to the default PATH, by adding at the end of the /etc/profile file :
      export PATH=$PATH:$ELANPATH/bin

    You must now log out and then log in again to use ELAN.

  4. ELAN upgrade :
    ELAN is frequently updated (for fixes and enhancements). To update ELAN, use the following command :
    Ubuntu :
    sudo sh $ELANPATH/misc/Elan_update.sh
    Fedora, Debian, OpenSuse :
    su
    enter root password
    sh $ELANPATH/misc/Elan_update.sh

    If this command fails, download and install the archive (see section 1 and 3 above).

Good luck!

If you encounter difficuties installing ELAN or if you are not sure about the right installation file you need to download, feel free to contact us.