www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18808] New: dmd not found after installation using script

https://issues.dlang.org/show_bug.cgi?id=18808

          Issue ID: 18808
           Summary: dmd not found after installation using script
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: bachmeil yahoo.com

If I install using the script

curl -fsS https://dlang.org/install.sh | bash -s dmd

It gives the message

Run `source ~/dlang/dmd-2.079.1/activate` in your shell to use dmd-2.079.1.
This will setup PATH, LIBRARY_PATH, LD_LIBRARY_PATH, DMD, DC, and PS1.

That works until you close the current terminal. As soon as you use a new
terminal, you get

Command 'dmd' not found

On Ubuntu 18.04. I put the severity at critical because the installation
process needs to work.

--
Apr 29 2018