Welcome!
A couple of questions. First, is it necessary to install version 3 rather than the much more recent version 5? If you don’t have specific situation that requires installing older versions, it’s strongly recommended to install current versions. Second, what exactly have you tried and what exactly didn’t work (e.g., error messages, undesirable behavior, etc.). With this info, someone should be able to suggest some solutions.