How do I install a package using yum?
Install a package using yum install To install a package, do ‘yum install packagename’. This will also identify the dependencies automatically and install them. The following example installs postgresql package. # yum install postgresql.