Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to make anaconda smaller?

I'm using Ubuntu 16.04 LTS with Anaconda 2, which takes over 5 gb disk space. Is it normal to take such large space, or I can make it smaller by removing some unnecessary folders?

P.S. Some commands such as "conda clean" have been used, I just wonder if there are some repeated modules installed...

like image 534
Yunqiu Xu Avatar asked Jan 12 '18 13:01

Yunqiu Xu


People also ask

Why is Anaconda folder so big?

One reason is that anaconda environments are completely isolated workspaces from each other with their own copy of Python. So, the more environments you have, the larger the space needed by anaconda. But the other reason is that anaconda keeps a cache of the package files, tarballs etc.

How much space is required for Anaconda?

Hardware requirements Storage: 300 GB. (600 GB for air-gapped deployments.) Additional space recommended if the repository will be used to store packages built by the customer. With an empty repository, a base install requires 2 GB.

Is Anaconda still useful?

Anaconda is popular because it brings many of the tools used in data science and machine learning with just one install, so it's great for having short and simple setup. Like Virtualenv, Anaconda also uses the concept of creating environments so as to isolate different libraries and versions.


1 Answers

I have seen anaconda accumulate lots of garbage package caches and tarballs. To delete caches, tarballs and lock files which are not used and reduce a little bit the space used, you can try:

conda clean -a

like image 63
BCJuan Avatar answered Sep 28 '22 04:09

BCJuan