Installation for Veritas System Recovery Linux Edition fails with an error message "python3: command not found" on Red Hat Enterprise Linux 8.
Problem
Installation for Veritas System Recovery Linux Edition fails with an error message " python3 : command not found " if Red Hat Enterprise Linux (RHEL) 8 is installed with minimal install.
Error Message
./PreInstall.sh: Line 10: python3: command not found

Cause
python or python3 is not installed on the system.
Solution
If you would like to install python3 from Red Hat 8.x media, please install it after performing below.
1. Insert Red Hat 8.x installation media.
2. Run below commands.
$ mkdir /cdrom
$ mount /dev/cdrom /cdrom
$ vi /etc/yum.repos.d/rhel8.repo
3. Edit like below in /etc/yum.repos.d/rhel8.repo
--------------------------------------------
[LocalRepo_BaseOS]
name=LocalRepository_BaseOS
baseurl=file:///cdrom/BaseOS
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[LocalRepo_AppStream]
name=LocalRepository_AppStream
baseurl=file:///cdrom/AppStream
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
--------------------------------------------
NOTE:
These lines are for Red Hat 8.x. For Red Hat 6.x or 7.x, please see https://access.redhat.com/solutions/1355683.
4. Save /etc/yum.repos.d/rhel8.repo.
5. Run the below commands.
$ chmod 644 /etc/yum.repos.d/rhel8.repo
$ yum clean all
$ subscription-manager clean
$ yum install python3
NOTE:
When "Is this OK [y/N] ?" appears, press "y" and Enter key.
NOTE:
If you experience an error "Failed to set locale, defaulting to C.UTF-8" when running "yum install python3", please run below.
# Confirm that LC_ALL is not in environment variables.
$ printenv | grep LC
$
# Configure LC_ALL
$ export LC_ALL=C
# Confirm that LC_ALL is in environment variables.
$ printenv | grep LC
LC_ALL=C
# retry yum
$ yum clean all
$ subscription-manager clean
$ yum install python3
7. Run the below command.
$ yum install genisoimage
8. Install Veritas System Recovery.
Product version
Veritas System Recovery 21
Red Hat Enterprise Linux 8.x