Basic LDC Linux Install Question

jmh530 john.michael.hall at gmail.com
Tue Sep 19 12:26:31 UTC 2017


I'm more of a Windows user than a Linux user. I have the latest 
DMD on my Linux install (linux mint 17.3), but I wanted to test 
LDC.

I get a message that ldc2 is not found when I type ldc2 --version 
or sudo ldc2 --version (I'm not on root and the existing user 
does not have root privileges, so I have to sudo around that 
folder).

Here's what I did:
1) Download binary from ldc github page
2) Unpack and copy to /usr/local/bin/ldc/ldc2-1.4.0-linux-x86_64

I was concerned that the issue is that ldc2 is not in the path. 
When I type $PATH I get
bash: 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory

Do I need to add /usr/local/bin/ldc to it also? Or am I missing 
out on some other step?


More information about the Digitalmars-d-learn mailing list