Thsi question is relevant to the current package manager. It there is an answer for Pkg3 this will be welcome also. The Documentation does have a section on removing packages. but it is unclear and has not worked for me in the past. Should I use Pkg.free(“packagename”) ??
I have three use cases at the momen tfor removing packages:
- I might give a talk to colleagues. I might want to demonstrate how to install IJulia
- I wish to develop in the ClusterManagers package - so need to remove the existing copy and substitute with the development version
- sometimes I am convinced that a package is completely fuled up and I want to start from a clean install
I do admit that the third use case is stupid, but I have got into messes in the past with ImageView on Windows 10 and I ended up wiping Julia and starting from scratch.