Problem instalation software 'Demeter'

Discussion in 'Installation' started by Sylvain, Dec 22, 2016.

  1. Sylvain

    Sylvain Thread Starter
    Expand Collapse
    New Member

    Joined:
    Dec 22, 2016
    Messages:
    1
    Likes Received:
    0
    Hi everyone!

    I am a novice with Linux (I have elementary OS 0.3.2 Freya 64bit) and I can't solve a problem occurring during the installation of a software suite called 'Demeter' (X-ray spectroscopy data analysis). Even though there is a very detailed and simple guide on the site that explain how to install the software for Ubuntu 12.04 OS, it seems that it does not work for me (code lines not compatible with my OS?).

    Guide web address: https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html

    In the first section 'preparing your machine', for the first command (the 'apt-get install ... ' line) everything seems to go well. But when I want to set-up the local copy of Perl I get this:

    1) flibuque@flibuque-X302LA:~$ cd
    2) flibuque@flibuque-X302LA:~$ pwd
    3) /home/flibuque
    4) flibuque@flibuque-X302LA:~$ echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >> ~/.bashrc
    5) flibuque@flibuque-X302LA:~$ source ~/.bashrc
    6) bash: /home/flibuque/.bashrc: line 168: syntax error near unexpected token `$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)'
    7) bash: /home/flibuque/.bashrc: line 168: `esaceval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)'
    flibuque@flibuque-X302LA:~$

    Do you have a idea of what I could do here?

    Besides since then every times I open the terminal I have the the line 6) and 7) showing up at the top of the 'flibuque@flibuque-X302LA:'...

    Any help is welcome! Thank you!

    Sylvain
     

Share This Page

Loading...