GNU/Linux Ubuntu 16.04 Installing DMD Compiler Guide
Hi! The Tutorial shows you Step-by-Step How to Install DMD Compiler in Ubuntu 16.04 Xenial LTS GNU/Linux.
And the Digital Mars D Compiler for Ubuntu 16.04 is constantly Optimized also for the Latest D Programming Language release.
Moreover, this Installation includes also the D Package & Build Manager.
Finally, the guide includes Instructions on How to Getting-Started with D Programming on DLang IDE for Ubuntu.
-
1. Launching Terminal
Open a Terminal window
Ctrl+Alt+t on Desktop
(Press “Enter” to Execute Commands) -
2. Enabling D Repository
Then to Enable D Repository for Ubuntu
First, Add the D Repo:sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
And Refresh the Apt Repositories with:
sudo apt update --allow-unauthenticated
In case of “server certificate failed” Issue then amend the Repo manually with:
sudo nano /etc/apt/sources.list.d/d-apt.list
And amend the beginning as “deb [trusted=yes]”!
Ctrl+x to Save & Exit from nano Editor.
Last, Update the Apt Repos again.
Again Install the GPG Key:sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring
Finally, Reload the Repositories:
sudo apt update
-
3. Installing D
So Now to Install D Compiler & Package+Build Manager.
sudo apt install dmd-compiler dub libcurl3 libphobos2-79 libphobos2-dev
-
4. D Programming Getting-Started Guide
Getting-Started with D IDE on Ubuntu GNU/Linux
So Now I’m truly Happy if My Guide could Help you to Install DMD on Ubuntu 16.04!