D language is an object-oriented, statically typed language with C-like syntax and executes as fast as C++.
Below is how to install the D language compiler (dmd) and package manager (dub) for apt-get based systems like Ubuntu or Debian. This is useful for fresh installs of the OS.
First get the apt sources and update:
sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list sudo apt-get update sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && sudo apt-get update
Now install build essentials, followed by dmd and dub:
sudo apt-get -y install git build-essential sudo apt-get -y install dmd-bin dmd-doc dub sudo apt-get -y install libevent-dev libssl-dev # vibe.d deps
You're done! D is ready for your hacking, test with a vibe.d webserver:
dub init testproj vibe.d; cd testproj; dub