juliaup icon indicating copy to clipboard operation
juliaup copied to clipboard

Uninstalling Juliaup doesn't remove .julia dir or at least .julia/juliaup

Open shayandavoodii opened this issue 3 years ago • 4 comments

Regarding this problem, I decided to try to uninstall and reinstall Juliaup. I'm running Windows 10. I uninstalled it using
🪟 Win > search "Juliaup" > Right click > 🗑 Uninstall.
Then I checked the C:\Users\Shayan\.julia and C:\Users\Shayan\.julia\juliaup directories. Unfortunately (or maybe fortunately), both exist (as before I guess). So I doubt if it was a clean uninstallation.

I should mention that I installed Juliaup from the Microsoft Store and I hadn't any other Julia installation (like the stand-alone binary from JuliaLang.org/download) on my machine.

shayandavoodii avatar Dec 26 '22 15:12 shayandavoodii

#457 has some notes about removing .julia/juliaup on uninstall.

Deleting .julia seems unwise since that is not something specific to juliaup and might contain data from other julia installations. Maybe the uninstaller could ask if you want to clean up the julia folder, but I don't think it should be done automatically at least.

albheim avatar Jan 03 '23 13:01 albheim

There is another problem: we actually can't remove anything from the .julia folder during uninstall for the Windows Store option, all we can remove is the actual juliaup stuff (which we already do).

davidanthoff avatar Jan 03 '23 20:01 davidanthoff

Perhaps print a notice that if you want to remove all trace of Julia then you have to remove certain other directories—is it just ~/.julia?

StefanKarpinski avatar Jan 03 '23 21:01 StefanKarpinski

We can do that for the self installer on Mac and Linux, but not on Windows, we have no ability to run custom code at uninstall for the Windows Store version.

davidanthoff avatar Jan 03 '23 22:01 davidanthoff