I installed the package with –unsafe-perm and the installation went through. More about the parameter here.