Using `yum module` allows much greater flexibility in determining what software can be installed on your servers. It allows you to leave security and bug fix patches up to the CentOS team instead of having to manually compile or build your own RPMs, even for packages that may be out of date. In this lab, we’ll work on understanding how modules can be used.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Install `postgresql` 9.6
First, we need to enable the 9.6 stream of
postgresql
:yum module enable postgresql:9.6
Then we can install it:
yum install postgresql
Watch the output, and verify it’s using the 9.6 version.
- Install `php` 7.3
First, we need to enable the 7.3 stream of
php
:yum module enable php:7.3
Then we can install it:
yum install php
Watch the output, and verify it’s using the 7.3 version.