![]() However, if you want to be able to run root anywhere (at this moment, if you close the terminal, start a new one, it will not recognize the command root), you need to add some stuff onto your bash like follow: make -jN (where N is the number of cores your machine has, the more core you provide, the quicker this step will be)Īt this point, you should be able to start using root.cmake -DCMAKE_INSTALL_PREFIX=~/Cern_Root/root-6.20.04/root-install.You should now have a new directory inside of Cern_Root called root-6.20.04 cp Downloads/root_v6.20.04. Cern_Root/.Next, use the following commands to install it, starting from the $HOME directory: Go to and download the source file (root_v6.20.04.). Once that’s done, you can then start with installing root. However, if you need it (I think Geant4 uses it), then replace libqt4-dev with qt5-default You may encounter some problems with the libqt4-dev since ubuntu 20.04 doesn’t carry qt4 anymore. sudo apt-get install gfortran libssl-dev libpcre3-dev xlibmesa-glu-dev libglew1.5-dev libftgl-dev libmysqlclient-dev libfftw3-dev libcfitsio-dev graphviz-dev libavahi-compat-libdnssd-dev libldap2-dev python-dev libxml2-dev libkrb5-dev libgsl0-dev libqt4-dev.sudo apt-get install git dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev.Here’s the whole process that I went through to install root onto Ubuntu 20.04.įirst, download the prerequisite from for ubuntu. Just want to add onto what others have posted. ![]() Very soon we will have an even simpler method (download a b package and apt install b). I think the ones for Ubuntu 19 should just work. Note that we currently do not have pre-compiled binaries for Ubuntu 20.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |