Problem
Faced below error while Installing 12.2 on Linux 8.
Unable to execute cr9idata.pl
Executing cr9idata.pl
Executing: perl /u01/oracle/DEV/12.1.0/nls/data/old/cr9idata.pl
Unable to execute cr9idata.pl
RW-50010: Error: - script has returned an error:   2
RW-50004: Error code received when running external process.  Check log file for details.
Running Database Install Driver for DEV instance
Solution:
I have installed the following rpms:
Install the following rpm 
[root@dev02 DEV_dev2]#yum list perl-File-CheckTree*
Available Packages
perl-File-CheckTree.noarch                                                                         4.42-303.el8                                                                         ol8_appstream
perl-File-CheckTree.src                                                                            4.42-303.el8                                                                         ol8_appstream
[root@dev02 DEV_dev2]# yum install perl-File-CheckTree*
[root@dev02 DEV_dev2]#yum list perl-File-CheckTree*
Last metadata expiration check: 0:10:24 ago on Sun 21 Feb 2021 11:39:26 PM +03.
Installed Packages
perl-File-CheckTree.noarch                                                                        4.42-303.el8                                                                         @ol8_appstream
Available Packages
perl-File-CheckTree.src                                                                           4.42-303.el8                                                                         ol8_appstream
[root@dev02 DEV_dev2]#
The above is after installing the rpm.