Skip to content

Commit 31b5f40

Browse files
committed
demeter install
1 parent 0a9d851 commit 31b5f40

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

installs/install_demeter.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Demeter installation from source
2+
3+
- Target sofwater: (Demeter)[https://github.com/bruceravel/demeter]
4+
- Last tested: 2019-07-04
5+
- Working on:
6+
- XUbuntu 18.04
7+
8+
It mainly follows [David Hughes' guide to Demeter Installation on Ubuntu](https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html).
9+
10+
## As root
11+
12+
Basic requirements of your system:
13+
14+
```
15+
sudo apt install build-essential git gfortran gnuplot ifeffit liblocal-lib-perl libx11-dev libncurses5-dev libpng-dev libgif-dev libwxgtk3.0-dev libwx-perl libmodule-build-perl
16+
```
17+
18+
## As user
19+
20+
It should be as simple as doing the followin steps in a BASH shell:
21+
22+
```bash
23+
cd
24+
echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >> ~/.bashrc
25+
source ~/.bashrc
26+
cpan
27+
cpan[1]> o conf build_requires_install_policy yes
28+
cpan[2]> o conf prerequisites_policy follow
29+
cpan[3]> o conf http_proxy http://proxy.esrf.fr:3128
30+
cpan[4]> o conf ftp_proxy http://proxy.esrf.fr:3128
31+
cpan[5]> o conf commit
32+
mkdir local
33+
cd local
34+
git clone git://github.com/bruceravel/demeter.git
35+
cd demeter
36+
perl -I . ./Build.PL
37+
./Build installdeps
38+
perl -I . ./Build.PL
39+
./Build
40+
./Build test
41+
./Build install
42+
```

0 commit comments

Comments
 (0)