Difficulty: Beginner
Estimated Time: 5 minutes

Goal:

After completing this scenario, users will be able to choose which version of a software package is enabled on a system from an application stream.

Concepts included in this scenario:

  • Verify the availability of an application stream
  • Install software managed as an application stream
  • Change to a different version of software from an application stream
  • List all available software managed as application streams

Example Usecase:

A web application being deployed on Red Hat Enterprise Linux 8 requires postgresql database version 9.6. Later, the application is updated and requires postgresql version 10 be available on the machine.

Please Note: The instructions to move the database stored data from postgresql 9.6 to 10 are not included in this scenario, but would likely be needed if an administrator or developer was moving a production system from using postgresql 9.6 to postgresql 10. Additional administrative activities may be required when performing a move from one version of software to another, including, but not limited to: scheduling a maintenance for the system, notifying users/stakeholders, backing up data, testing post-change, etc.

Author: Scott McBrien, Technical Content Manager (Red Hat)

In this lab you have:

  • Verified the availability of an application stream
  • Installed software managed as an application stream
  • Changed to a different version of software from an application stream
  • Listed all available software managed as application streams

Report an issue with the lab:

RHEL Labs Github issues

Provide additional comments or ratings:

Complete a survey about the lab

For more Red Hat labs, check out:

Red Hat Enterprise Linux

OpenShift

Managing Software in an Application Stream

Step 1 of 6

Step 1

Determine the available versions of postgresql.

yum module list postgresql

Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name                        Stream                  Profiles                           Summary
postgresql                  9.6                     client, server [d]                 PostgreSQL server and client module
postgresql                  10 [d]                  client, server [d]                 PostgreSQL server and client module
postgresql                  12                      client, server [d]                 PostgreSQL server and client module

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

There are three versions of postgresql available as modules in the Application Stream, version 9.6, version 10, and version 12.

postgresql version 10 is set as the default, meaning if someone installed postgresql with no specific options or arguments, version 10 would be the one installed.