.NET Core on Linux (Ubuntu 18.10) ‘NuGetFallbackFolder’ Error

Permission denied to modify the ‘/usr/share/dotnet/sdk/NuGetFallbackFolder’ folder.

Here are some options to fix this error:
1. Re-run this command with elevated access.
2. Disabled the first run experience by setting the environment variable DOTNET_SKIP_FIRST_TIME_EXPERIENCE to true.

How to fix this issue

sudo su
apt-get remove dotnet-sdk-CURRENT_VERSION
rm /usr/share/dotnet/dotnet -r
rm /usr/bin/dotnet -r
mkdir -p /usr/share/dotnet
tar -zxf {VERSION.tar.gz} -C /usr/share/dotnet
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
sudo -H gedit /etc/environment


The version which is currently installed


The newest version you just downloaded from dotnet.microsoft.com


The last command should open gedit. Paste “DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true” and save the file.

Hinterlasse einen Kommentar

Please Login to comment
Notify of