Skip to content
Advertisement

How do you install .Net Core on Ubuntu without using sudo?

The current installation instructions for Ubuntu 14 require the use of sudo (https://www.microsoft.com/net/core#ubuntu). I don’t have root permissions on a particular Ubuntu 12 server that I need to install .Net Core on. I have tried to download the Ubuntu files (https://www.microsoft.com/net/download#core) and install them manually but I get the following error when I run ‘dotnet restore’:

Failed to initialize CoreCLR, HRESULT: 0x8007001F

Advertisement

Answer

Running dotnet from the tar.gz works just fine for me on Ubuntu 14.

Running from the tar.gz or building from source does not work for me on Ubuntu 12. But Ubuntu 12 is not supported by dotnet, so I’m not surprised it does not work.

Not using sudo is not an issue, having old OS is.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement