0

I have a problem.

I have newest raspbian, and I have installed .net core 2.1 on it, well everything looks fine until i reboot pi.

After reboot .net core command stops to work and i have to add

export DOTNET_ROOT=$HOME/dotnet 
export PATH=$PATH:$HOME/dotnet

then it will work.

Is there a way to make it permanent.

  • You can put those exports in /home/pi/.bashrc – Dougie Jan 31 at 20:31
  • Where do you have do add the commands? – Ingo May 26 at 12:17
1

Add

DOTNET_ROOT=$HOME/dotnet 
PATH=$PATH:$HOME/dotnet

to your ~/.profile or ~/.bashrc file.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.