I'm going to run EC2 instance for dev purposes on AWS. Most likely Ubuntu (once had it on my laptop). I am Java developer, so I need JDK, Tomcat, Maven, Git and MongoDB on the server. But software in repos is too old (MongoDB in ubuntu repos is 2.0.x version, when I need 2.2.x). So, I'm going to download zipped binaries and use them.
Where do I install software which is not packed with .deb? Should I install it to /home/user/, or maybe to /opt as Chrome does?