If installing only LLVM 20 is enough to run software had used LLVM previous versions?

Hello. Thanks for reading my topic.
Here Ubuntu 24.04.3 current date updated.
I see some softwares trying install LLVM 17 , 19 and 20.
If installing only LLVM 20 not need install previous version ? Softwares using LLVM previous versions automatically use the updated LLVM version 20 ?
I only want avoid installing the same dependecie if the newer is enough.

Have an nice week.

What softwares and what are their exact LLVM dependencies? Is it LLVM as a whole, or libllvm, or some specific component(s) of LLVM and/or its associated toolchain, or…?

Could you please post output of apt-cache show <package(s)> (replacing <package(s)> with a space-separated list of each actual package name you’re looking at installing that has these LLVM dependencies)

1 Like

I have installed several software and only is required LLVM 20 and running sudo apt autoremove list llvm17.
Thus I see not need LLVM 17 and 19.
Have an nice week.

1 Like