Changeset 4778 for BOL


Ignore:
Timestamp:
Dec 19, 2023, 8:47:01 AM (5 months ago)
Author:
fhourdin
Message:

Install testés sur ordi DELL enseignement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_ubuntu22_packages.sh

    r4760 r4778  
    33################################################################
    44# Complément d'installation Ubuntu22
     5# Frédéric Hourdin.
     6#
     7# Developpe et utilise a fins personnelles et pour les PCs
     8# enseignement.
     9# Permet de faire tourner entre autres LMDZ et les outils HighTune
    510################################################################
    611
     
    1621acroread=1
    1722workspace_matrix=0
     23miniconda=1
     24panoply=1
     25cours_m2=1
    1826
    1927install="sudo apt install -y"
     
    103111........eod
    104112    done
     113    cd /tmp
     114    wget http://www.lmd.jussieu.fr/~lmdz/data_ferret.tar
    105115    cd /usr/share/ferret-vis
    106     wget http://www.lmd.jussieu.fr/~lmdz/data_ferret.tar
    107     tar xvf data_ferret.tar
    108     \rm -f data_ferret.tar
     116    sudo tar xvf /tmp/data_ferret.tar
    109117fi
    110118#===============================================================================
     
    155163    echo then click on the OFF button
    156164fi
     165
     166#===============================================================================
     167if [ $miniconda = 1 ] ; then
     168   cd /tmp
     169   wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
     170   cd
     171   # Option -b pour installer sans repondre aux droits
     172   bash /tmp/Miniconda3-latest-Linux-x86_64.sh -b
     173   export PATH=~/miniconda3/bin:$PATH
     174   conda activater ; conda init ; conda deactivate
     175   #conda init --reverse bash
     176   conda create -n FERRET -c conda-forge pyferret ferret_datasets --yes
     177   \rm -f Miniconda3-latest-Linux-x86_64.sh
     178   wget http://www.lmd.jussieu.fr/~hourdin/COURS/UTILS/environment.yaml
     179   if [ $cours_m2 ] ; then
     180      conda env create -f environment.yaml
     181      \rm -f environment.yaml
     182   fi
     183fi
     184
     185#===============================================================================
     186if [ $panoply = 1 ] ; then
     187    cd
     188    sudo apt-get install openjdk-11-jre
     189    wget https://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-5.3.0.tgz
     190    tar xvzf PanoplyJ-5.3.0.tgz
     191    \rm -f PanoplyJ-5.3.0.tgz
     192    cd PanoplyJ/
     193    # ./panoply.sh devrait ouvrir la fenêtre Panoply
     194fi
Note: See TracChangeset for help on using the changeset viewer.