Skip to content

Linux install script shouldn't point to the .dotnet data folder #158

@adegeo

Description

@adegeo

There has been some feedback given to the docs about issues installing .NET on Linux. dotnet/docs#23035

Looking at some information, it seems that the scripts are possibly installing dotnet into the hidden ~/.dotnet folder, which it probably shouldn't. I believe this folder is used for the global tools and package resolution (among other things).

Here are the paths used when you install via the package manager on Ubuntu:

item path
dotnet command /usr/bin/dotnet
dotnet install folder /usr/share/dotnet/
dotnet data folder $HOME/.dotnet/

I think the bash script should install to /usr/share/dotnet/ (or some env variable that points to /user/share/ ?? I'm not familiar enough with linux) or at least point to something other than .dotnet such as $HOME/dotnet/ (notice I removed the period)

The manual instructions (I'm the author of the article) do in fact point to $HOME/dotnet and I took those off the download site as the information was migrated to docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions