As I was trying to download the Dependencies (Dependencies - ROOT) for building root I came across multiple errors
Note, selecting ‘libglu1-mesa-dev’ instead of ‘xlibmesa-glu-dev’
Note, selecting ‘libgraphviz-dev’ instead of ‘graphviz-dev’
Note, selecting ‘python-dev-is-python2’ instead of ‘python-dev’
Note, selecting ‘libgsl-dev’ instead of ‘libgsl0-dev’
E: Unable to locate package libglew1.5-dev
E: Couldn’t find any package by glob ‘libglew1.5-dev’
E: Couldn’t find any package by regex ‘libglew1.5-dev’
seems like error is in libglew 1.5 package if I’m not mistaken. When I try to download these dependencies in ubuntu 20.04 no error occours. I think ubuntu 22.04 stopped supporting python 2 and libglew1.5 so that can cause an error. Can anyone solve this problem or is there anyone who’s also facing this problem
ROOT Version: 6.26 Platform: Ubuntu 22.04 Compiler: Not Provided
You don’t need to compile ROOT, unless you have a specific reason why. Normally, you should just download a precompiled binary: go to Download at the top of this page, click on the “latest stable ROOT release”, and choose the appropriate tar.gz from “binary distributions” (in your case, the file for Ubuntu 22.04), uncompress it and then just run /path/to/root/bin/thisroot.sh every time before running root (or add it to your .bashrc file).
In any case, even without compiling, I run these before installing ROOT:
Hi thanks for help. I did all the steps and finally I ran bash thisroot.sh in bin folder and this is what I got
./thisroot.sh: line 168: ${(%):-%N}: bad substitution
maybe I messed up with system. I had installed root earlier from source code and deleted the file now trying this way.