Discussion:
[conda] Removing unsued packages in Conda
l***@gmail.com
2018-11-15 15:47:26 UTC
Permalink
When we install a package then it brings along other packages as
dependencies. e.g. I installed /folium/ and there were 8-10 dependencies.
Now after using it for a week, I removed /folium/ but Conda did not remove
any of the dependencies. They are not used by any of the program/packages
either. is there a way to remove such unused packages ?
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/a2acd663-f586-499f-886c-af07f1843146%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Matt Curcio
2018-11-19 16:16:46 UTC
Permalink
I know in Debians toolbox there is a tool that can help with the removal of
orphans, I think gtkorphan(?).

However I did find this too.

https://docs.anaconda.com/anaconda-repository/admin-guide/sys-mgmt/check-orphan-files/

HTH
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/da0bcdcc-e3c4-44e6-88f0-f433131435d1%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
l***@gmail.com
2018-11-21 15:59:59 UTC
Permalink
On Monday, November 19, 2018 at 9:46:46 PM UTC+5:30,
I know in Debians toolbox there is a tool that can help
with the removal of orphans, I think gtkorphan(?).
However I did find this too.
https://docs.anaconda.com/anaconda-repository/admin-guide/sys-mgmt/check-orphan-files/

Thanks Matt, though I neither use Debian nor Anaconda. I have Arch Linux
and Miniconda installation
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/3ba2cc67-5786-4a13-b111-989447ab87ff%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Nehal J Wani
2018-11-23 04:19:25 UTC
Permalink
Hi,

There is a flag: --prune to conda install

Since 'conda install' doesn't work without a package spec as an argument,
and python is almost always present in any of my environments, I do:

conda install python --prune # This removes any package which was
installed as a dependency (not installed explicitly) and no package depends
on it any longer in that environment.

Cheers!

Nehal J Wani
Post by Matt Curcio
On Monday, November 19, 2018 at 9:46:46 PM UTC+5:30,
I know in Debians toolbox there is a tool that can help
with the removal of orphans, I think gtkorphan(?).
However I did find this too.
https://docs.anaconda.com/anaconda-repository/admin-guide/sys-mgmt/check-orphan-files/
Thanks Matt, though I neither use Debian nor Anaconda. I have Arch Linux
and Miniconda installation
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/3ba2cc67-5786-4a13-b111-989447ab87ff%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/3ba2cc67-5786-4a13-b111-989447ab87ff%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CAG6NSrkD7wtt8FguNGvgc_hv5E7319ncQ04cv3UayXmcPewvxg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...