Use this script to install the r3broot simulation toolkit. It will also install its dependencies fairsoft and fairroot.
git clone https://github.com/bl0x/r3broot-install
./r3b-root-install.sh
The script is made to be run on debian based systems. For installation on archlinux, please refer to the packages provided through the AUR.