By default Softaculous will put "wp" at the end of installation.
When installing WordPress using Softaculous then we have to remove that "wp" words manually:
If you already installed WordPress on your domain with that "wp" path and want to fix the current installation without "wp", visit cPanel -> Softaculous -> WordPress.
Then visit the Overview menu and delete that installation.
After that start the installation again on the domain but without the wp words on the installation URL..