Install scala: no bin after decompression

I’m not sure what you are trying to do using rpm2cpio. Don’t you have root/sudo permissions?

It should be something like

sudo rpm -i scala-2.12.6.rpm