You can pretty much study the Dockerfile of each docker image and you'll see how it's installed. It's all there, no magic