Tuesday, December 15, 2020

Installations of the 2021 GEOframe environment for Linux operative systems

Installation of the 2021 GEOframe environment on Linux

Credits to: Martin Morlot, martin.morlot@unitn.it

 

1) Install anaconda & openjdk-8:

check https://docs.anaconda.com/anaconda/install/linux/ and https://openjdk.java.net/install/ for instuctions for your distributions

 

2) create GeoFrame folder and change directory to it (in terminal):

mkdir GeoFrame

cd GeoFrame

 


3) Clone python4GEOframe  github repository (in terminal):

git clone git@github.com:geoframecomponents/python4GEOframe.git

 

4) Download, oms-console,  Ex01 and notebook test using your browser:

https://alm.engr.colostate.edu/cb/wiki/16961

https://osf.io/5e9jp/download

https://osf.io/fzy5g/download

- unzip them inside the Geoframe folder using your choice of file-extractor for the purpose.

 

5) Change directory to where you cloned python4GEOframe, and to anaconda_envs (using previously opened terminal):

cd python4GEOframe/Anaconda_envs

 

6)Activate anaconda in linux (in a terminal):

source /opt/anaconda/bin/activate root

 

7) Create environment for geoframe:

conda env create -f geoframe_rossano.yaml (will take some time)

 

8) activate the environmental created:

conda activate geoframe_rossano

 

9) set your conda java_home

export  JAVA_HOME=~/.conda/envs/geoframe_rossano/jre/

 

10) execute console.sh in new terminal:

cd GeoFrame/oms-3.6.28-console

./console.sh

 

11) set /home/$USERNAME/.conda/envs/geoframe_rossano/jre/ while replacing $USERNAME with your username  in the OMS console java home setting as in the instructions slides (slide 11)

 

12) run ex_1 as in the instructions slides that you can find at https://osf.io/xes9y/ (slide 12, 13) to check that it works.

 

13) run the notebook excercise: open jupyter notebook with your preferred jupyter editor (ie. Vscode, spyder) set interpreter to conda env created python ( ~/.conda/envs/geoframe_rossano/bin/python3) then run the notebook as specified in the instructions (slide 17)


Go to Installations on Windows

Go to Installations for Mac

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.