Install latest/stable of ROOT Framework
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install root-framework
Don't have snapd? Get set up for snaps.
This snap is intended to provide an easy-to-install package of the ROOT framework for home users and students. This package is ideal for users who are looking for an easy installation process that is consistent across systems without the need for integration with other frameworks, IDE's, or external packages. For these use-cases, you may want to take a look at other available builds of ROOT at https://root.cern/install/
ROOT is built using the C++17 standard, and it comes bundled along with Python 3.8/PyROOT and Jupyter Notebook / JupyROOT. NumPy, SciPy, Pandas, Matplotlib, Scikit-Learn and Tensorflow/Keras are included with the Python environments.
Snaps are container packages for easy application deployment, designed to be consistent and reliable across different host distributions. They additionally impose some strong sandboxing for security. One caveat of this sandboxing is that this package can only read/write to your $HOME
directory, or via specific network protocols. It is highly advised that you place all your data files in your $HOME
directory to be accessible.
Because snaps are containers and don't affect the host system, using PyROOT with import ROOT
will not work in a system Python shell. Users are encouraged to use the command pyroot
to access the containers' Python shell, where import ROOT
would become available. Scripts can be passed to pyroot
to be executed in PyROOTs context, E.G, pyroot -i $(root-config --tutdir)/pyroot/fillrandom.py
, or put in the scripts shebang. E.G #!/snap/bin/pyroot
JupyROOT can be accessed by running root --notebook
.
For user convenience, application entries for ROOT and PyROOT will be placed into the systems start menu by default.
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.