This answer applies to all installation issues with SQL Server. It is a generic answer describing the steps required to analyse further details.
SQL Server Setup Routine Logging
When you installed SQL Server 2019 a detailed (very verbose) setup log was created in a sub-directory like this:
C:\Program Files\Microsoft SQL Server\VVV\Setup ...
Solve by the following steps
Check that the problem is related to Windows Script Host
From cmd run wscript.exe
If you get an error Windows Script Host is not enabled and you can solved it by running from cmd
Fix for Current User
REG DELETE "HKCU\SOFTWARE\Microsoft\Windows Script Host\Settings" /v Enabled /f
Fix for Local Machine
REG DELETE &...
18c is not supported on OL8.
The oracle-database-preinstall-18c package does not exist in the OL8 repository.
compat-libcap1 and compat-libstdc++-33 packages also do not exist in OL8 repository.
Whatever instructions you followed to get here were not completely correct.
Use OL6 or OL7 for 18c.
You said you were a super newbie, you should start with stuff ...
You want to install the "oracle-database-preinstall-18c" package, using the "yum" utility as root. That will load all of your dependencies for you:
[root@orcl1 ~]# yum search oracle-database-preinstall-18c
Loaded plugins: langpacks, ulninfo
================================================================== N/S matched: oracle-database-...
Make sure the whole path does not have spaces. I was trying to install mine on "Program Files" which has a space and was getting the same issue. I moved the unzipped files to C:\Oracle\home_db and everything worked well.