There's something called package manager in Linux. It is used to download and install software and its dependencies automatically. In Cent OS, the package manager is called
yum. You can install package in Cent OS like
Code:
yum install <package-name>
For example if you want to install mysql server
Code:
yum install mysql-server
This will install mysql server and all the dependency packages. You would normally need to be connected to internet to do this.