{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/6345","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/6345/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/6345/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/6345/events","html_url":"https://github.com/dotnet/cli/issues/6345","id":222254798,"number":6345,"title":"Clarify the different types of install on Linux, and how to uninistall them","user":{"login":"JohnRusk","id":25887678,"avatar_url":"https://avatars3.githubusercontent.com/u/25887678?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnRusk","html_url":"https://github.com/JohnRusk","followers_url":"https://api.github.com/users/JohnRusk/followers","following_url":"https://api.github.com/users/JohnRusk/following{/other_user}","gists_url":"https://api.github.com/users/JohnRusk/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnRusk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnRusk/subscriptions","organizations_url":"https://api.github.com/users/JohnRusk/orgs","repos_url":"https://api.github.com/users/JohnRusk/repos","events_url":"https://api.github.com/users/JohnRusk/events{/privacy}","received_events_url":"https://api.github.com/users/JohnRusk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/14","html_url":"https://github.com/dotnet/cli/milestone/14","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/14/labels","id":2129009,"number":14,"title":"Discussion","description":"Milestone for tracking non-actionable discussion items. ","creator":{"login":"TheRealPiotrP","id":2379589,"avatar_url":"https://avatars0.githubusercontent.com/u/2379589?v=4","gravatar_id":"","url":"https://api.github.com/users/TheRealPiotrP","html_url":"https://github.com/TheRealPiotrP","followers_url":"https://api.github.com/users/TheRealPiotrP/followers","following_url":"https://api.github.com/users/TheRealPiotrP/following{/other_user}","gists_url":"https://api.github.com/users/TheRealPiotrP/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRealPiotrP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRealPiotrP/subscriptions","organizations_url":"https://api.github.com/users/TheRealPiotrP/orgs","repos_url":"https://api.github.com/users/TheRealPiotrP/repos","events_url":"https://api.github.com/users/TheRealPiotrP/events{/privacy}","received_events_url":"https://api.github.com/users/TheRealPiotrP/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":70,"state":"open","created_at":"2016-11-11T09:49:39Z","updated_at":"2017-12-19T00:11:35Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2017-04-17T22:59:59Z","updated_at":"2017-12-19T01:08:03Z","closed_at":null,"author_association":"NONE","body":"# Background\r\n\r\nIt appears that there are three different types of install on Linux.\r\n\r\n- Using a package manager. Only offered on RHEL and Ubuntu.  When installed, framework is available for all users of machine.\r\n- Manual-extraction of tarball. Recommended target location appears to be: /opt/dotnet. This is the approach currently recommended here https://www.microsoft.com/net/cor for all OS's except RHEL and Ubuntu.\r\n- A \"non-administrative\" install, using https://dot.net/v1/dotnet-install.sh . This uses, presumably, the same tarball, but installs it to $HOME/.dotnet. Unlike the other two, with this method the install is only available to the user who runs the install.\r\n\r\n# Problems\r\n\r\n1. Presumably, it is not safe or sensible to mix-and match these three approaches on one machine. Is that the case, if so, it should be documented since if otherwise users may get confused.  E.g. thinking they can upgrade one installation type, with commands suitable or another (E.g. to add an new runtime version to their install).\r\n2. Nothing ever says that these ways act differently. Specifically, the documentation for the script-based install does not say that its default location is different from /opt/dotnet (which is recommended for manual extraction).  Something should be put here to clarify that fact: https://docs.microsoft.com/en-us/dotnet/articles/core/tools/dotnet-install-script \r\n3. Un-install is confusing: there are _two_ scripts here: https://github.com/dotnet/cli/tree/rel/1.0.0/scripts/obtain/uninstall , but _three_ different types of install (four, if you count RHEL and Ubuntu packages separately).  It's not even clear whether they are the right scripts?  Shouldn't they be under https://dot.net/v1/... now? And shouldn't there be some way for user to discover the right uninstall script to go with their installation type? E.g. mention location of un-install script in the top of the _install_ script, and or use hyperlinks here https://www.microsoft.com/net/core#linuxcentos instead of just saying \"Before you start, please remove any previous versions of .NET Core from your system\"\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/352607935","html_url":"https://github.com/dotnet/cli/issues/6345#issuecomment-352607935","issue_url":"https://api.github.com/repos/dotnet/cli/issues/6345","id":352607935,"user":{"login":"JohnRusk","id":25887678,"avatar_url":"https://avatars3.githubusercontent.com/u/25887678?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnRusk","html_url":"https://github.com/JohnRusk","followers_url":"https://api.github.com/users/JohnRusk/followers","following_url":"https://api.github.com/users/JohnRusk/following{/other_user}","gists_url":"https://api.github.com/users/JohnRusk/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnRusk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnRusk/subscriptions","organizations_url":"https://api.github.com/users/JohnRusk/orgs","repos_url":"https://api.github.com/users/JohnRusk/repos","events_url":"https://api.github.com/users/JohnRusk/events{/privacy}","received_events_url":"https://api.github.com/users/JohnRusk/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T01:08:03Z","updated_at":"2017-12-19T01:08:03Z","author_association":"NONE","body":"BTW, the /opt/dotnet install location is deprecated in .NET Core 2.0, which may somewhat simplify the situation"}}
{"actor":{"display_login":"JohnRusk"}}