Complete package removal

Hello how to remove the package with its artifacts on Ubuntu - I have a package using Conda.jl and after removing and reinstalling I have still old python dependencies - so some artifacts need to be still present - How to remove all?

Enter Pkg mode in the REPL by typing the ] character, then

pkg> gc --all

should erase all dependencies that are not used anymore.
But if it does not work, there might be some stuff related to Python that I’m not aware of…

1 Like

Conda.jl stores things in ~/.julia/conda and Pkg.gc doesn’t know about that.
So you need to delete it manually (or makybe use Conda.rm before unstalling Conda?)

THere is a newer package for Conda called CondaPkg.jl that handlies this better IIRC

2 Likes