After many time consuming elementary installs I've written a bash script to automate and simplify the process. The file can be downloaded here: https://drive.google.com/open?id=0B0xYRfokMDlebWtseURtUjlHbDA Feel free to edit the file to meet your needs. I have the file configured for a basic Android software development environment, but your needs may be different. I've tested this script on two machines with a fresh elementary Lokiand it completed without error, but that doesn't mean it will on your machine. Therefore I take no responsibility for what effect it may have on your particular system. Enjoy!