0

I have run out of disk space on my cluster machine. Doing du -h --max-depth=20 | sort -hr > size_of_folders.txt reveals that there is a directory called ./miniconda3/pkgs that is taking up 22Gbs. Looking in this folder at the subfolders, I don't know what most of these . For example here are the top 50 entries:
804M ./qt-main-5.15.4-ha5833f6_2
769M ./qt-5.12.9-h1304e3e_6
629M ./qt-5.9.7-h5867ecd_1
629M ./cache
619M ./qt-5.9.7-h0c104cb_3
482M ./mkl-2020.2-256
481M ./mkl-2020.2-256/lib
360M ./qt-main-5.15.4-ha5833f6_2/include
359M ./qt-main-5.15.4-ha5833f6_2/include/qt
343M ./qt-5.12.9-h1304e3e_6/include/qt
343M ./qt-5.12.9-h1304e3e_6/include
321M ./qt-5.9.7-h5867ecd_1/include
321M ./qt-5.9.7-h0c104cb_3/include
320M ./qt-5.9.7-h5867ecd_1/include/qt
320M ./qt-5.9.7-h0c104cb_3/include/qt
307M ./libdb-6.2.32-h9c3ff4c_0
299M ./libdb-6.2.32-h9c3ff4c_0/docs
244M ./scipy-1.7.3-py310hea5193d_0
243M ./scipy-1.7.3-py310hea5193d_0/lib/python3.10
243M ./scipy-1.7.3-py310hea5193d_0/lib
242M ./scipy-1.7.3-py310hea5193d_0/lib/python3.10/site-packages/scipy
242M ./scipy-1.7.3-py310hea5193d_0/lib/python3.10/site-packages
221M ./pandas-1.3.4-py310hb5077e9_1
220M ./pandas-1.3.4-py310hb5077e9_1/lib/python3.10/site-packages
220M ./pandas-1.3.4-py310hb5077e9_1/lib/python3.10
220M ./pandas-1.3.4-py310hb5077e9_1/lib
219M ./python-3.8.3-cpython_he5300dc_0
219M ./pandas-1.3.4-py310hb5077e9_1/lib/python3.10/site-packages/pandas
199M ./python-3.8.3-cpython_he5300dc_0/lib
196M ./python-3.8.3-hcff3b4d_0
175M ./python-3.8.3-hcff3b4d_0/lib
172M ./pandas-1.4.1-py310hb5077e9_0 171M ./pandas-1.4.1-py310hb5077e9_0/lib/python3.10/site-packages
171M ./pandas-1.4.1-py310hb5077e9_0/lib/python3.10
171M ./pandas-1.4.1-py310hb5077e9_0/lib
170M ./pandas-1.4.3-py310h769672d_0
170M ./pandas-1.4.2-py310h769672d_2
170M ./pandas-1.4.1-py310hb5077e9_0/lib/python3.10/site-packages/pandas
169M ./pandas-1.4.3-py310h769672d_0/lib/python3.10/site-packages
169M ./pandas-1.4.3-py310h769672d_0/lib/python3.10
169M ./pandas-1.4.3-py310h769672d_0/lib
169M ./pandas-1.4.2-py310h769672d_2/lib/python3.10/site-packages
169M ./pandas-1.4.2-py310h769672d_2/lib/python3.10
169M ./pandas-1.4.2-py310h769672d_2/lib
168M ./perl-5.32.1-1_h7f98852_perl5
168M ./pandas-1.4.3-py310h769672d_0/lib/python3.10/site-packages/pandas
168M ./pandas-1.4.2-py310h769672d_2/lib/python3.10/site-packages/pandas
166M ./statsmodels-0.13.1-py310h96516ba_0
165M ./statsmodels-0.13.1-py310h96516ba_0/lib/python3.10/site-packages 165M ./statsmodels-0.13.1-py310h96516ba_0/lib/python3.10`

Can someone explain if these are deletable? These recognisable packages - such as pandas and scipy - have strange suffixes and I'm not sure if they're deletable.

I presume I can delete the cache but I'm not sure about the rest.

  • This may help: [is-it-safe-to-manually-delete-all-files-in-pkgs-folder-in-anaconda-python](https://stackoverflow.com/questions/56266229/is-it-safe-to-manually-delete-all-files-in-pkgs-folder-in-anaconda-python) To sum up a few points - you won't achieve much if these cached files are used by conda environments - they will just be installed again. If they are not being used, a better option (if possible) is to use a conda clean command to remove unused packages. If conda is not being used at all you could of course safely delete everything ... – topsail Jan 12 '23 at 02:32

0 Answers0