Just an FYI in some distros dmd doesn't compile properly, installing gdc (GNU D Compiler) may be a better option. I know I had issues with it on openSUSE, and some Debian based distros (including Ubuntu based). I believe the fix involves installing some package, but you can probably just use gdc instead.
dmd work perferly for me on Fedora 24/25