|
|
Exercise: Working with Modules
- Type yum module list. You’ll see a list of all modules that are available.
- Type yum module provides httpd. This will show you that the httpd package is a part of the httpd module. As this module has just one stream, we’ll have a look at the PHP module in the next steps in this exercise.
- Type yum module info php to get information about the php module. This gives information about the default PHP application stream.
- To investigate packages in the application stream for PHP 7.1, type yum module info --profile 7.1.
- Type yum module install php:7.1/devel. This will install PHP from the PHP 7.1 application stream, using the developer profile. Notice that by installing it from this specific stream, you’ll also enable the 7.1 application stream.
- Type yum module install php:7.2 to switch to the newer version of the PHP module.
- To ensure that all dependent packages are updated as well, type yum distro-sync.
|
|
|