Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add info on how to uninstall Dart #3187

Closed
sfshaza2 opened this issue Apr 30, 2021 · 11 comments · Fixed by #5826
Closed

Add info on how to uninstall Dart #3187

sfshaza2 opened this issue Apr 30, 2021 · 11 comments · Fixed by #5826
Assignees
Labels
a.get-started Relates to Getting Started with Dart co.help-wanted Community opportunity to help documentation co.request Community ask for documentation e1-hours Can complete in < 8 hours of normal, not dedicated, work p2-medium Necessary but not urgent concern. Resolve when possible. st.triage.ltw Indicates Lead Tech Writer has triaged

Comments

@sfshaza2
Copy link
Collaborator

Inspired by this issue on flutter.dev: flutter/website#5695

@parlough
Copy link
Member

parlough commented Apr 30, 2021

Definitely a good idea, but may be hard to cover all possible forms of installation. With our current setup, the following cases seem the most important to cover initially:

  • Uninstalling with Chocolatey in the Windows tab on Get Dart
  • Uninstalling with apt in the Linux tab on Get Dart
  • Uninstalling Debian packages with dpkg in the Linux tab on Get Dart
  • Uninstalling with Homebrew in the macOS tab on Get Dart
  • Manually deleting SDK directory for those who manually downloaded the ZIP, perhaps in the archive page.

It would also likely be good to mention removing Dart from path for situations where the package manager isn't responsible for doing so.

We could consider a dedicated new page as well, for general tasks of uninstalling as well as cleaning up various PATH variables, tooling, etc. Also a friendly invitation back like you mentioned :)

If anyone reading this wants to take one of those specific tasks, I'd be happy to help if you have any questions and work with you for review of a PR! Let me know :)

@parlough parlough added docs e1-hours Can complete in < 8 hours of normal, not dedicated, work co.help-wanted Community opportunity to help documentation p2-medium Necessary but not urgent concern. Resolve when possible. co.request Community ask for documentation and removed docs labels Apr 30, 2021
@sfshaza2
Copy link
Collaborator Author

I like the way you think, @parlough!

@Sameerkash
Copy link
Contributor

Sameerkash commented Apr 30, 2021

Great points @parlough,
I'll see if I can take this up once I finish up with the issue on flutter site, if there's no WIP on this one by then.

@kwalrath
Copy link
Contributor

kwalrath commented May 3, 2021

There's also the removing Dart by removing Flutter case, right?

@Sameerkash
Copy link
Contributor

There's also the removing Dart by removing Flutter case, right?

This could just link back to the flutter site. flutter/website#5695

@sfshaza2
Copy link
Collaborator Author

sfshaza2 commented May 3, 2021 via email

@Sameerkash
Copy link
Contributor

@parlough where would this page go?

@parlough
Copy link
Member

parlough commented May 8, 2021

@Sameerkash I think a few places could use additions, with perhaps the most straightforward being how to uninstall with the tools mentioned in each tab on the Get the Dart SDK page. Those could be included near the end of each tab and perhaps completed as an initial PR separate from any new pages.

image

As for the other pieces, such as removing extra items from the path, other forms of uninstall for manual installation, linking to the Flutter uninstall directions, etc I'm assuming we could create a new page as well. This could likely go in a similar place to the get-dart.md file and be linked to from the Get Dart and archive pages. Perhaps @kwalrath will have more ideas here on the contents and location.

@kwalrath
Copy link
Contributor

Like @parlough said, the uninstall page could be very similar to (and parallel to) the get-dart page. If the page starts looking too busy or you think that includes/tabs would be too hard to maintain, then we could use <summary>...<details> tags to hide unnecessary details.

I don't think we need the actual uninstall directions on the get-dart page — just information on where to find the uninstall page. (I'm always leery of including instructions/code that you don't want everyone to copy-paste!)

@Sameerkash
Copy link
Contributor

Sameerkash commented May 12, 2021

Okay, I'll try and make a draft PR soon, we can build things from there

@atsansone atsansone added a.get-started Relates to Getting Started with Dart st.triage.ltw Indicates Lead Tech Writer has triaged labels Apr 12, 2023
@satya-kr
Copy link

satya-kr commented Jan 4, 2024

Just use

choco uninstall dart-sdk

image

@atsansone atsansone self-assigned this May 8, 2024
atsansone added a commit that referenced this issue May 31, 2024
Fixes #3187
Fixes #5829

---------

Co-authored-by: Parker Lougheed <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a.get-started Relates to Getting Started with Dart co.help-wanted Community opportunity to help documentation co.request Community ask for documentation e1-hours Can complete in < 8 hours of normal, not dedicated, work p2-medium Necessary but not urgent concern. Resolve when possible. st.triage.ltw Indicates Lead Tech Writer has triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants