Due to a screwup on my part, I had to reinstall my Pi's OS (was quicker than looking up the potential solution), and since I don't need multiple separate versions of D, I want to do away with the activate
/deactivate
scripts, especially as this method isn't liked by certain applications. I once solved this, but I forgot it since it's a very unintuitive process.
March 19 Had to reinstall my Raspberry Pi, how do I set up LDC2's environment values permamently? | ||||
---|---|---|---|---|
| ||||
March 19 Re: Had to reinstall my Raspberry Pi, how do I set up LDC2's environment values permamently? | ||||
---|---|---|---|---|
| ||||
Posted in reply to solidstate1991 | On 19/03/2024 10:50 PM, solidstate1991 wrote: > Due to a screwup on my part, I had to reinstall my Pi's OS (was quicker than looking up the potential solution), and since I don't need multiple separate versions of D, I want to do away with the `activate`/`deactivate` scripts, especially as this method isn't liked by certain applications. I once solved this, but I forgot it since it's a very unintuitive process. What I did in my linux VM is in .bashrc script, was to add ``~/.local/bin/ldc*/bin`` to the PATH variable, and simply extract ldc out into ``~/.local/bin`` manually. Whereas for a Gitlab CI I used the install script with: ```sh source $(realpath -m $(curl -fsS https://dlang.org/install.sh | bash -s get-path dmd --install)/../../../activate) ``` Does either of this help you? |
Copyright © 1999-2021 by the D Language Foundation