Install from Docker image#

This procedure allows to get a pre-installed version of the libraries which are gathered in a so-called Docker container.

This first requires the installation of the Docker application, which can be downloaded from https://www.docker.com/products/overview Once this is done: - Download the XLiFE++ image (use sudo docker on Unix/Linux system):

$ docker pull pnavaro/xlifepp
  • Create a workspace directory, for example:

    $ mkdir $HOME/my-xlifepp-project
    
  • Run the container with interactive mode and share the directory created above with /home/work container directory:

    $ docker run -it {-}{-}rm -v $HOME/my-xlifepp-project:/home/work pnavaro/xlifepp
    

    This allows the files created in the internal /home/work directory of the container to be stored in the $HOME/my-xlifepp-project directory of the true file system, making them available after Docker is stopped.

  • Everything is now ready to use XLiFE++ as explained in Compile a program using XLiFE++ above, for instance:

    $ xlifepp.sh
    $ make
    $ ./exec-x86_64-linux-g++-5-Release
    

    Files produced during the execution are in the directory $HOME/my-xlifepp-project shared with running Docker, and are then available for post-processing.