Installing
-
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
Again Install the GPG Key:
sudo apt -y --allow-unauthenticated install --reinstall d-apt-keyring
Finally, Reload the Repositories:
sudo apt update
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. -
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 20.04!
Contents