Basic LDC Linux Install Question
Daniel Kozak
kozzi11 at gmail.com
Tue Sep 19 12:37:12 UTC 2017
Yes you need to add ldc2 to your PATH. So if your ldc2 binary is in
/user/something/something/folder_where_is_ldc2/ldc2
you havto add /user/something/something/folder_where_is_ldc2 to your PATH.
You can test this by pasting this to terminal:
export PATH=$PATH:/user/something/something/folder_where_is_ldc2
ldc2 --version
On Tue, Sep 19, 2017 at 2:26 PM, jmh530 via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:
> 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?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20170919/c251a5f3/attachment.html>
More information about the Digitalmars-d-learn
mailing list