Peter
Peter

Reputation: 1128

Anaconda lib duplicates of libonedal_core

I'm looking through my Anaconda folders noticing what seem to be many duplicates. All these dupes are modified at the same time, all seem to have a version convention. They are not symlinks.

In ~/opt/anaconda3/lib and ~/opt/anaconda3/pkgs/dal-2021.5.0-hecd8cb5_782/lib enter image description here enter image description here

Are these in fact dupes? If yes, what's the safest way to remove the dupes? I've already run conda clean -ap and

Upvotes: 1

Views: 731

Answers (1)

merv
merv

Reputation: 76950

These files are very likely symbolic links (softlinks) to a single file. It would be better to examine such files with a ls -lh command from a shell, rather than through a GUI. For example, if I look at libmamba* in my base environment, I see

$ ls -lh ~/miniconda3/lib/libmamba*
-rwxrwxr-x  2 mfansler  staff   3.2M Aug 23 16:32 libmamba.2.0.0.dylib
lrwxr-xr-x  1 mfansler  staff    20B Sep 29 17:05 libmamba.2.dylib -> libmamba.2.0.0.dylib
lrwxr-xr-x  1 mfansler  staff    20B Sep 29 17:05 libmamba.dylib -> libmamba.2.0.0.dylib

where the arrows (->) represent symbolic links. Also notice how those are only 20 bytes.

Upvotes: 1

Related Questions