Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Advanced users • Re: Add environment variable persistent in bookworm os

$
0
0
I think i found where i must set it but it don't work correctly.

I think , i must write my persistent variable in /etc/environment file like that:

Code:

export DOTNET_ROOT=$HOME/.dotnetexport PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
but it's not working , i think because these varaibles include other system variables.

If i entered these two lines in command line, after that i can type "dotnet" and the command "dotnet' is launched.
But the problem it's not persistent in this case.

this is the source, i try to install dotnet: https://learn.microsoft.com/fr-fr/dotne ... ystem-wide

Statistics: Posted by yaume91 — Mon Feb 17, 2025 12:09 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles