cd ora2pg-x.x/
perl Makefile.PL
gmake && gmake install
perl -MCPAN -e "install DBD::Oracle"
perl -MCPAN -e shell
cpan> get DBD::Oracle
cpan> quit
perl Makefile.PL
make
make install
Go to location C:\ora2pg_tool\ora2pg-22.1\
Create project base directory and run this to create test project
ora2pg --project_base --init_project test_project
Add the Oracle DB connection settings
Edit the SCHEMA we would like to export
Edit the export type - TYPE TABLE, SEQUENCE, GRANT, TABLESPACE, TYPE, SYNONYM
ora2pg -c config\ora2pg.conf
Edit the EXCLUDE when you want to run the INSERT export type to exclude large tables
Edit the Postgres DB Configuration
Command to run : ora2pg -c config\ora2pg.conf -t INSERT