Use this script to install the r3broot simulation toolkit. It will also install its dependencies fairsoft and fairroot.
The script is made to be run on debian based systems. For installation on archlinux, please refer to the packages provided through the AUR.
Information is taken from the GitHub Page of Bastian Löher.