Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "leuci-giulio/Prova4"
Differenze tra le versioni 10 e 11
Versione 10 del 21/04/2017 11.22.26
Dimensione: 3459
Autore: leuci-giulio
Commento:
Versione 11 del 01/09/2017 14.36.17
Dimensione: 5087
Autore: leuci-giulio
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 23: Linea 23:
sudo apt-get install DIPENDENZE, TROVALE! il pacchetto root-system la fa funzionare, usare quelle? sudo apt-get install root-system-bin libroot-core-dev libroot-graf3d-gl-dev libroot-io-xmlparser-dev libroot-math-mathmore-dev libroot-math-unuran-dev libroot-misc-memstat-dev libroot-misc-table-dev libroot-net-bonjour-dev libroot-net-ldap-dev root-plugin-graf2d-asimage root-plugin-gui-qt root-plugin-graf2d-qt root-plugin-math-fftw3 root-plugin-math-minuit2 root-plugin-net-krb5 root-plugin-sql-odbc libroot-geom-dev libroot-graf2d-gpad-dev libroot-graf2d-graf-dev libroot-graf2d-postscript-dev libroot-graf3d-eve-dev libroot-graf3d-g3d-dev libroot-gui-dev libroot-gui-ged-dev libroot-hist-dev libroot-hist-spectrum-dev libroot-html-dev libroot-io-dev libroot-math-foam-dev libroot-math-genvector-dev libroot-math-mathcore-dev libroot-math-matrix-dev libroot-math-minuit-dev libroot-math-mlp-dev libroot-math-physics-dev libroot-math-quadp-dev libroot-math-smatrix-dev libroot-math-splot-dev libroot-misc-minicern-dev libroot-montecarlo-eg-dev libroot-montecarlo-vmc-dev libroot-net-dev libroot-net-auth-dev libroot-proof-dev libroot-proof-proofplayer-dev libroot-tmva-dev libroot-tree-dev libroot-tree-treeplayer-dev root-plugin-geom-geombuilder root-plugin-geom-geompainter root-plugin-graf2d-x11 root-plugin-graf3d-x3d root-plugin-gui-fitpanel root-plugin-gui-guibuilder root-plugin-gui-sessionviewer root-plugin-hist-hbook root-plugin-hist-histpainter root-plugin-hist-spectrumpainter root-plugin-io-sql root-plugin-io-xml root-plugin-math-fumili root-plugin-tree-treeviewer root-system-proofd root-system-rootd root-system-doc libroot-bindings-python-dev libroot-bindings-ruby-dev libroot-roofit-dev root-plugin-geom-gdml root-plugin-montecarlo-pythia8 root-plugin-net-globus root-plugin-sql-mysql root-plugin-sql-pgsql


Problemi in questa pagina? Segnalali in questa discussione

Introduzione

ROOT è un software a riga di comando per l'analisi di dati scientifici elaborato dal CERN. Tra le altre cose, ROOT è in grado di:

  • Visualizzare e analizzare dati sotto forma di grafici ed istogrammi.
  • Utilizzare le funzioni matematiche standard.
  • Analizzare le immagini, utile in applicazioni in astrofisica e fisica medica.
  • Supporto ai quadrivettori.

  • Analisi statistica dei dati.
  • Interfacciarsi con il linguaggio Python per mezzo di PyROOT.

  • Sfruttare codici di simulazioni Monte Carlo.

Installazione

Dal sito ufficiale

  1. Installare le dipendenze necessaria digitando in un terminale il seguente comando:

    sudo apt-get install root-system-bin libroot-core-dev libroot-graf3d-gl-dev libroot-io-xmlparser-dev libroot-math-mathmore-dev libroot-math-unuran-dev libroot-misc-memstat-dev libroot-misc-table-dev libroot-net-bonjour-dev libroot-net-ldap-dev root-plugin-graf2d-asimage root-plugin-gui-qt root-plugin-graf2d-qt root-plugin-math-fftw3 root-plugin-math-minuit2 root-plugin-net-krb5 root-plugin-sql-odbc libroot-geom-dev libroot-graf2d-gpad-dev libroot-graf2d-graf-dev libroot-graf2d-postscript-dev libroot-graf3d-eve-dev libroot-graf3d-g3d-dev libroot-gui-dev libroot-gui-ged-dev libroot-hist-dev libroot-hist-spectrum-dev libroot-html-dev libroot-io-dev libroot-math-foam-dev libroot-math-genvector-dev libroot-math-mathcore-dev libroot-math-matrix-dev libroot-math-minuit-dev libroot-math-mlp-dev libroot-math-physics-dev libroot-math-quadp-dev libroot-math-smatrix-dev libroot-math-splot-dev libroot-misc-minicern-dev libroot-montecarlo-eg-dev libroot-montecarlo-vmc-dev libroot-net-dev libroot-net-auth-dev libroot-proof-dev libroot-proof-proofplayer-dev libroot-tmva-dev libroot-tree-dev libroot-tree-treeplayer-dev root-plugin-geom-geombuilder root-plugin-geom-geompainter root-plugin-graf2d-x11 root-plugin-graf3d-x3d root-plugin-gui-fitpanel root-plugin-gui-guibuilder root-plugin-gui-sessionviewer root-plugin-hist-hbook root-plugin-hist-histpainter root-plugin-hist-spectrumpainter root-plugin-io-sql root-plugin-io-xml root-plugin-math-fumili root-plugin-tree-treeviewer root-system-proofd root-system-rootd root-system-doc libroot-bindings-python-dev libroot-bindings-ruby-dev libroot-roofit-dev root-plugin-geom-gdml root-plugin-montecarlo-pythia8 root-plugin-net-globus root-plugin-sql-mysql root-plugin-sql-pgsql
  2. Recarsi nella pagina di download ufficiale.

  3. Cliccare sul primo collegamento sotto Latest ROOT Releases.

  4. Scaricare il file .tar.gz relativo alla propria versione di Ubuntu.

  5. Decomprimere il file scaricato nella propria Home.

  6. Creare l'icona di avvio per l'eseguibile ~/root/bin/root.

Da repository ufficiali di Ubuntu

La versione presente nei repository non è più supportata.

Installare il pacchetto root-system.
Al termine dell'installazione sarà possibile avviare il programma.

Configurazione

Abilitare PyROOT

Il modulo ROOT è importabile solo per script o programmi lanciati tramite terminale e non tramite menu.

Per poter importare il modulo ROOT negli script di Python seguire i seguenti passaggi:

  1. Aprire con un editor di testo il file ~/.bashrc e inserirvi le seguenti righe:

    export PATH=$ROOTSYS/bin:$PYTHONDIR/bin:$PATH
    export LD_LIBRARY_PATH=$ROOTSYS/lib:$PYTHONDIR/lib:$LD_LIBRARY_PATH
    export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH

    sostituendo a $ROOTSYS il percorso alla cartella root creata durante l'installazione.

  2. Copiare tutto il contenuto della cartella $ROOTSYS/lib in /usr/share/python (questa operazione può essere eseguita indifferentemente tramite file manager o tramite terminale e richiede i privilegi di amministrazione).

Ulteriori risorse


CategoryHomepage