I downloaded root on my ubuntu version 22.04 using the following commands.
It took some commuting time and after final installation, when i typed root on the terminal, it opened the initial page of root.
$ git clone --branch latest-stable https://github.com/root-project/root.git root_src
$ mkdir root_build root_install && cd root_build
$ cmake -DCMAKE_INSTALL_PREFIX=../root_install ../root_src
$ cmake --build . -- install -j4 #
$ source ../root_install/bin/thisroot.sh
But, when i closed the terminal, and started the root again, it was shown
Command 'root' not found, but can be installed with:
sudo snap install root-framework
Please help! I am new to the softwarr