wiki:OutilsFormation

Version 14 (modified by fhourdin, 4 years ago) (diff)

--


Description des outils et procédures utiles à la formation LMDZ

Installation testée sur une installation Ubuntu 18.04

Before anything, to avoid run commands with "sudo"

sudo bash

1. Installations automatiques par apt

To start with

apt update
apt upgrade


Base :

apt install -y csh ksh keychain ncftp vim vim-gnome xournal nfs-common  # base
apt install -y lftp
apt install -y synaptic gdebi                            # install paquets
apt install -y xfig grads imagemagick gv grace           # graphique
apt install -y texlive-base texlive-latex-extra texlive-lang-french latexdiff  texlive-publishers  #LaTeX
apt isntall -y latexmk texlive-science
apt install -y latex2html
apt install -y texlive-extra-utils texlive-font-utils # pdfjam
apt install -y inkscape gimp                             # dessin
apt install -y unoconv # conversion associee a libreoffice
apt install -y qpdfview # un visualiseur remplissant mieux les pdf
apt install -y traceroute # aide systeme
# Pour compilation dont LMDZ [[BR]]
apt install -y cdo nco netcdf-bin libnetcdf-dev ncview   # netcdf
apt install -y gfortran g++ libblas-dev subversion git   # fortran et svn
apt install -y openmpi-common libopenmpi-dev openmpi-bin # openmpi
apt install -y gifsicle
apt install -y ekiga                                        # conf renater

sudo snap install pdftk # Autre package de concatenation de pdf
apt install -y dos2unix

2. python

Not as root nor su

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x ./Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh

On a new window to reinitiate the environment

conda install netcdf4 h5py jinja2 pip sqlalchemy basemap matplotlib numpy scipy
conda create --name python2 python=2.7
conda create --name python3 python=3.7

Jupyter notebooks

sudo apt install -y python3-notebook jupyter jupyter-core python-ipykernel