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:
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
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/toolsIf 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