# Complete package removal

**URL:** <https://discourse.julialang.org/t/complete-package-removal/84100>\
**Category:** General Usage\
**Created:** [July 12, 2022, 11:42am UTC](https://discourse.julialang.org/t/complete-package-removal/84100 "2022-07-12T11:42:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakub\_Mitura](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jakub_mitura/32/19496_2.png) [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Post date:** [July 12, 2022, 11:42am UTC](https://discourse.julialang.org/t/complete-package-removal/84100/1 "2022-07-12T11:42:05Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Liozou](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liozou/32/35118_2.png) [@Liozou](https://discourse.julialang.org/u/Liozou)\
**Post date:** [July 12, 2022, 1:31pm UTC](https://discourse.julialang.org/t/complete-package-removal/84100/2 "2022-07-12T13:31:23Z")

</div>

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

```julia
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…

---

<div class="post-metadata">

**Author:** ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Post date:** [July 12, 2022, 2:15pm UTC](https://discourse.julialang.org/t/complete-package-removal/84100/3 "2022-07-12T14:15:48Z")

</div>

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

> **[GitHub - JuliaPy/CondaPkg.jl: Add Conda dependencies to your Julia project](https://github.com/JuliaPy/CondaPkg.jl)**
>
> Add Conda dependencies to your Julia project. Contribute to JuliaPy/CondaPkg.jl development by creating an account on GitHub.
