SMIL  1.1
Installing binaries

Generalities

Smil binary packages are available for some :

  • Linux distributions : Ubuntu, CentOS, Debian and Fedora.
  • Anaconda
Note
  • Anaconda is a Python based virtual environment commonly found in the research community. It's very interesting as it's nearly independent of Linux distribution and it comes with the most common packages needed in the scientific environnment, which may, sometimes, be a nightmare to install.

Installing Smil binaries follows always the same logic :

  1. Get GPG package signing key;
  2. Configure package repository;
  3. Get and install package.

Linux Distributions

Ubuntu

  • Add GPG key
      KURI=https://smil.cmm.minesparis.psl.eu/packages/jmartins@cmm.gpg.key
      wget -O- $KURI 2>/dev/null | apt-key add -
    
  • Add Smil repository (replace DISTRO by the release name : xenial bionic focal ...)
      source /etc/os-release
      DISTRO=$VERSION_CODENAME
      apt-add-repository \
       'deb [arch=amd64] https://smil.cmm.minesparis.psl.eu/packages/ubuntu
       $DISTRO main'
    
  • Install Smil packages
      # Retrieve or update list of packages available
      apt-get update
      # look for smil packages
      apt-cache search smil | grep ^smil
      # install all smil packages
      apt-get install smil-*
    
Note
The last line will install all Smil packages. If you want just some of them, you can check those you want and just install them. To see what's available, launch :
  apt-cache search smil | grep ^smil

Debian

  • Add GPG key
      KURI=https://smil.cmm.minesparis.psl.eu/packages/jmartins@cmm.gpg.key
      wget -O- $KURI 2>/dev/null | apt-key add -
    
  • Add the following line to /etc/apt/sources.list (replace DISTRO by the release name (jessie stretch buster …). xenial bionic focal ...)
     deb [arch=amd64] https://smil.cmm.minesparis.psl.eu/packages/debian DISTRO main
    
  • Install Smil packages
      # Retrieve or update list of packages available
      apt-get update
      # look for smil packages
      apt-cache search smil | grep ^smil
      # install all smil packages
      apt-get install smil-*
    
Note
The last line will install all Smil packages. If you want just some of them, you can check those you want and just install them. To see what's available, launch :
  apt-cache search smil | grep ^smil

CentOS

  • Install repository file - /etc/yum.repos.d/CMM-Smil.repo :
      #
      #
      [cmm-smil]
      name=Smil for CentOS-$releasever
      baseurl=https://smil.cmm.minesparis.psl.eu/packages/centos/$releasever/$basearch/
      enabled=1
      gpgcheck=1
    
  • Import GPG keys
      rpm --import https://smil.cmm.minesparis.psl.eu/packages/jmartins@cmm.gpg.key
    
  • Install Smil packages
      # first of all, it's always a good idea to clean the cache
      dnf clean all
      # to see which packages are available :
      dnf search smil
      # to install Python interface to Smil :
      dnf install smil-python
      # to install all smil packages :
      dnf -y install smil-*
    

Fedora

  • Install repository file - /etc/yum.repos.d/CMM-Smil.repo :
      #
      #
      [cmm-smil]
      name=Smil for CentOS-$releasever
      baseurl=https://smil.cmm.minesparis.psl.eu/packages/fedora/$releasever/$basearch/
      enabled=1
      gpgcheck=1
    
  • Import GPG keys
      rpm --import https://smil.cmm.minesparis.psl.eu/packages/jmartins@cmm.gpg.key
    
  • Install Smil packages
      # first of all, it's always a good idea to clean the cache
      dnf clean all
      # to see which packages are available :
      dnf search smil
      # to install Python interface to Smil :
      dnf install smil-python
      # to install all smil packages :
      dnf -y install smil-*
    

Anaconda

After created your Anaconda environnment, just change to it and type :

   conda install -c jmarcio smil
Note
  • for more info and documentation about Anaconda, see here.

Upgrading

Smil binary packages may be upgraded in the usual way any other package is upgraded.

Nonetheless:

  • sometimes it's a good idea to remove old releases before installed new ones. This is because sometimes it may happen that we reorganize things or rename or disable some Addons. And you may end with old versions of some Addons.
  • when you upgrade the major release of your distribution, the repository may be disabled during the upgrade process. Take this into account.