ROOT 6 opening problem


I have installed ROOT_6.19/01 on Ubuntu 16.04, and right after I uninstalled the old version ROOT_5.
Now by entering “root” in terminal it says “The program ‘root’ is currently not installed. You can install it by typing: sudo apt install root-system-bin”, but I have successfully installed ROOT_6.19/01 and I can open it manually from its location.

Does someone know the magic command that permits to open ROOT_6 from any directory?

I am not very familiar with Linux commands so please be explicit.
Thank you in advance for your answers.

Thank your very much for the hint :smiley:

actually by entering

source /path_to_root/bin/

Doesn’t work if I restart my computer. BUT
here’s the solution that works :

gedit ~/.bashrc

Paste the following at end of the .bashrc file:

# For ROOT

export ROOTSYS=/path_to_root_where_it_is_built/root

export PATH=$ROOTSYS/bin:$PATH


pay attention to put your “path_to_root_where_it_is_built” correctly

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.