How to install the xPack LLVM clang
The xPack LLVM clang can be installed automatically, using the xpm
command
(the recommended method), or manually, by downloading and unpacking one of the
platform specific archives.
Automated install
The easiest (and recommended) way to install LLVM clang
is via xpm and the package available
as @xpack-dev-tools/clang
from
the npmjs.com
registry.
xPacks refresher
xPacks (short for xpm packages) are general-purpose,
language-neutral software packages.
They use the same format as npm packages,
which is a collection of files/folders
and a package.json
file with the package metadata.
Binary xPacks also include references to regular archives with the platform
specific binaries (such as .tar.gz
for Unix or .zip
for Windows).
These archives are unpacked and links/forwarders to
the executables are created in a .bin
folder.
For more details, please see the previous explanation in the Getting Started page.
Prerequisites
The only requirement for an automated install is a recent xpm, which is a portable Node.js command line application that complements npm with several extra features specific to C/C++ projects.
To install xpm, follow the instructions in the xpm install page.
If already installed, it is always a good idea to update it to the latest version with:
npm install --location=global xpm@latest
Although not mandated by xpm, it is also a good idea to upgrade npm to the latest version, and node to a reasonably recent version (currently npm requires a node >=18.17.0).
Local installs
One of the xPack design goals is to allow each project to choose the exact versions of the tools it requires.
Similarly to npm being able to install specific versions of the JavaScript tools into each project, xpm was also designed to be able to install specific versions of the required binary tools locally into each project.
Therefore, similarly to the way npm installs the JavaScript packages into
node_modules
, xpm installs the binary tools into
xpacks
. Here there will be separate folders with the installed
packages, for example
xpacks/@xpack-dev-tools/clang
.
Each such folder includes the package.json
file with the
project metadata and a sub-folder .content
with the extracted
binary archive. The executables are usually in .content/bin
.
On some platforms, names starting with .
(dot) might be hidden for
normal browsing, and seeing them requires
separate options (like ls -A
) or, in file browsers, to enable
settings like Show Hidden Files.
The xpacks/.bin
folder
If multiple binary packages are installed, in order to allow
the executables to be accessed, one possible solution is to add
all <package>/.content/bin
folders to the PATH
.
To simplify things, npm employs a separate <project>/node_modules/.bin
folder
where it places links/forwarders
pointing to the actual executable files.
Similarly, xpm adds links/forwarders into
a separate <project>/xpacks/.bin
folder.
With this setup, the project needs to prepend only this .bin
folder
to the PATH
, and all the required tools are accesible
and prefered to possible system tools.
Global installs and the user global xPacks store
Given that some binary tools (such as toolchains) can be very large (hundreds of megabytes or more), it is impractical to keep multiple copies of these tools, one for each project.
Instead, xpm installs the binary packages only once into a user global store (a platform-dependent folder within the home folder), thereby conserving disk space when the same tools are used across multiple projects.
In order to allow the projects to access the binary tools installed in the
user global store, instead of unpacking the archives in xpacks
,
xpm adds symbolic links pointing to the user global xPacks store.
The outcome is functionally equivalent to installing the tools into each project, but without the wasted disk space.
It is possible to force a local install into a project
by passing --copy
to xpm install
.
if necessary, it is also possible to install packages only globally, without creating local links/forwarders (see below).
The user xPacks cache
To save download time, all archives are first stored in a cache, and all subsequent downloads are replaced with the cached content.
Therefore all published archives should be read-only and it is not allowed to replace them at a later time.
Initialise the project
Upon initial use, ensure that a package.json
file is present in the
project root folder.
This can be achieved by running xpm init
in the desired project folder
(substitute my-project
accordingly):
cd my-project
xpm init
Under the hood
The main purpose of xpm init
is to create a package.json
file, if not
already present.
In addition to name
& version
, the minimal package.json
must
include a property named xpacks
, even empty. This property is
mandatory to identify the package as an xpm package.
Install into the project
The next step is to install the clang package into the project:
xpm install @xpack-dev-tools/clang@latest --verbose
This command will install the latest available version.
To install a specific version, mention it explicitly:
xpm install @xpack-dev-tools/clang@18.1.8-2.1 --verbose
- Windows
- macOS
- GNU/Linux
The main result is a set
of forwarders in
the .bin
folder:
dir xpacks\.bin
PATH setup
With all binary tools installed in xpacks/.bin
, the project build
configurations need only a single PATH adjustment:
export PATH=<...project-path...>/xpacks/.bin:$PATH
This syntax is for the Git Bash console. When using COMMAND.EXE or Power Shell, adjust the syntax for the corresponding Windows specific shell.
The main result is a set
of links in
the .bin
folder:
ls -l xpacks/.bin
PATH setup
With all binary tools installed in xpacks/.bin
, the project build
configurations need only a single PATH adjustment:
export PATH=<...project-path...>/xpacks/.bin:$PATH
The main result is a set
of links in
the .bin
folder:
ls -l xpacks/.bin
PATH setup
With all binary tools installed in xpacks/.bin
, the project build
configurations need only a single PATH adjustment:
export PATH=<...project-path...>/xpacks/.bin:$PATH
Installation details
The above xpm install
command will do the following:
- identify the platform specific archive for the latest available version
of LLVM clang, download it into a cache and unpack
it into a versioned folder
in the user global xPacks store (if not already there);
check the output of the
xpm install
command for the actual folder used on your platform; - create a local symbolic link
like
xpacks/@xpack-dev-tools/clang
pointing to the versioned folder in the user global xPacks store - add links/forwarders into
the local
xpacks/.bin
folder, referring to the binaries inxpacks/@xpack-dev-tools/clang/.content/bin
; - add
@xpack-dev-tools/clang
topackage.json
as a development dependency; this associates a specific version of LLVM clang with the current project (details below).
The install location can be configured using the
XPACKS_STORE_FOLDER
environment variable; for more details please check the
xpm folders page.
Reproducibility and devDependencies
To ensure reproducibility, it is essential for each project to always use the exact desired versions of the required tools, regardless of the tools installed in the system.
To achieve this goal, xpm records all locally installed binary packages
as development dependencies in the project package.json
file.
The result looks like this:
"xpack": {
"minimumXpmRequired": "0.19.1",
"dependencies": {},
"devDependencies": {
"@xpack-dev-tools/clang": {
"specifier": "18.1.8-2.1",
"local": "link",
"platforms": "all"
}
},
"properties": {},
"actions": {},
"buildConfigurations": {}
}
If the package.json
is saved in the revision system, the above
definition acts as a hard reference to the specific version of
xPack LLVM clang.
After cloning the project into a different location, the command xpm install
can be used to install all development dependencies.
This is particularly useful for CI/CD environments.
Install globally
For older development environments, it is also possible to install LLVM clang only globally in the user global xPacks store, without any local links/forwarders; it is the developer's responsibility to configure the path to the tools.
No other files are installed in any system folders or other locations.
xpm install @xpack-dev-tools/clang@latest --global --verbose
Installing packages locally into a project always installs the packages in the user global xPacks store; subsequent attempts to install the packages globally will fail with already installed.
PATH setup
In order to access the GNU RISC-V Embedded GCC binaries installed in the user global xPacks store, the project build configurations need a PATH adjustment:
- Windows
- macOS
- GNU/Linux
export PATH=$HOME/AppData/Roaming/xPacks/@pack-dev-tools/clang/18.1.8-2.1/.content/bin:$PATH
When not using the Git console, adjust the syntax for the corresponding shell.
export PATH=$HOME/Library/xPacks/@pack-dev-tools/clang/18.1.8-2.1/.content/bin:$PATH
export PATH=$HOME/.local/xPacks/@xpack-dev-tools/clang/18.1.8-2.1/.content/bin:$PATH
Uninstall
The binaries do not use any form of installer; instead they
are distributed as
portable .tar.gz
archives;
therefore they do not require to run any uninstaller; simply removing the
links and possibly the user global xPacks store folder and
the user xPack cache folder is enough.
To remove the symbolic links created by xpm in the current project, go to the project folder:
cd my-project
and ask xpm to uninstall the package:
xpm uninstall @xpack-dev-tools/clang --verbose
To completely remove the package from the user global xPacks store:
xpm uninstall --global @xpack-dev-tools/clang --verbose
Clean-ups
For a thorough clean-up, please note that xpm uses only two folders:
- Windows
- macOS
- GNU/Linux
%APPDATA%\Roaming\xPacks
%APPDATA%\Local\Caches\xPacks
${HOME}/Library/xPacks
${HOME}/Library/Caches/xPacks
${HOME}/.local/xPacks
${HOME}/.cache/xPacks
They can be removed at any time and space reclaimed; xpm will recreate them on new installs.
However, projects linking to the user global xPacks store will fail with broken paths.
Quick test
To check if the LLVM clang installed by xpm starts properly, use something like:
- Windows
- macOS
- GNU/Linux
C:\> %USERPROFILE%\AppData\Roaming\xPacks\@xpack-dev-tools\clang\18.1.8-2.1\.content\bin\clang.exe --version
xPack x86_64 clang version 18.1.8
% ~/Library/xPacks/@xpack-dev-tools/clang/18.1.8-2.1/.content/bin/clang --version
xPack x86_64 clang version 18.1.8
$ ~/.local/xPacks/@xpack-dev-tools/clang/18.1.8-2.1/.content/bin/clang --version
xPack x86_64 clang version 18.1.8
The reported version is the upstream version, which is shorter than the xPack version, as the latter requires more digits to identify the releases.
Manual install
For all platforms, the xPack LLVM clang binaries are released as portable archives that can be installed in any location.
The archives can be downloaded from the GitHub Releases pages.
Download & unpack
- Windows
- macOS
- GNU/Linux
The Windows versions of xPack LLVM clang
are packed as .zip
files.
Download the latest version named like:
-
xpack-clang-18.1.8-2-win32-x64.zip
In case you wonder where the suffix comes
from, it is exactly the Node.js process.platform
and process.arch
.
The win32
part is confusing, but we have to live with it.
To manually install the xPack LLVM clang, unpack the archive and move it to a location of your choice.
The recommended location is
the %USERPROFILE%\AppData\Roaming\xPacks\clang
folder, for
example C:\Users\ilg\AppData\Roaming\xPacks\clang\xpack-clang-18.1.8-2
.
According to Microsoft, AppData\Roaming
is the recommended location for
installing user specific packages.
The macOS versions of xPack LLVM clang
are packed as .tar.gz
archives.
Download the latest version named like:
xpack-clang-18.1.8-2-darwin-x64.tar.gz
-xpack-clang-18.1.8-2-darwin-arm64.tar.gz
In case you wonder where the suffix comes
from, it is exactly the Node.js process.platform
and process.arch
.
To manually install the xPack LLVM clang, unpack the archive and move it to a location of your choice.
The recommended location is
the ~/Library/xPacks/clang
folder, for
example /Users/ilg/Library/xPacks/clang/xpack-clang-18.1.8-2
:
mkdir -p ~/Library/xPacks/clang
cd ~/Library/xPacks/clang
tar xvf ~/Downloads/xpack-clang-18.1.8-2-darwin-x64.tar.gz
chmod -R -w xpack-clang-18.1.8-2
The GNU/Linux versions of xPack LLVM clang
are packed as .tar.gz
archives.
Download the latest version named like:
xpack-clang-18.1.8-2-linux-x64.tar.gz
-xpack-clang-18.1.8-2-linux-arm64.tar.gz
-xpack-clang-18.1.8-2-linux-arm.tar.gz
In case you wonder where the suffix comes
from, it is exactly the Node.js process.platform
and process.arch
.
To manually install the xPack LLVM clang, unpack the archive and move it to a location of your choice.
The recommended location is
the ~/.local/xPacks/clang
folder, for
example /home/ilg/.local/xPacks/clang/xpack-clang-18.1.8-2
:
mkdir -p ~/.local/xPacks/clang
cd ~/.local/xPacks/clang
tar xvf ~/Downloads/xpack-clang-18.1.8-2-linux-x64.tar.gz
chmod -R -w xpack-clang-18.1.8-2
For manual installs, the recommended
install location is slightly different then the folders created by xpm install
,
which use the @xpack-dev-tools
scope to group different tools,
and .content
to store the unpacked archive.
Quick test
To check if the LLVM clang installed manually starts properly, use something like:
- Windows
- macOS
- GNU/Linux
C:\> %USERPROFILE%\AppData\Roaming\xPacks\clang\xpack-clang-18.1.8-2\bin\clang.exe --version
xPack x86_64 clang version 18.1.8
% ~/Library/xPacks/clang/xpack-clang-18.1.8-2/bin/clang --version
xPack x86_64 clang version 18.1.8
$ ~/.local/xPacks/clang/xpack-clang-18.1.8-2/bin/clang --version
xPack x86_64 clang version 18.1.8
The reported version is the upstream version, which is shorter than the xPack version, as the latter requires more digits to identify the releases.
Folders hierarchy
After install, the package creates a hierarchy of folders like the following (only the first two depth levels are shown):
- Windows
- macOS
- GNU/Linux
C:> tree /f %USERPROFILE%\AppData\Roaming\xPacks\@xpack-dev-tools\clang\18.1.8-2\.content
Folder PATH listing
Volume serial number is B02D-925C
├── README.md
├── bin
│ ├── analyze-build
│ ├── clang++.exe
│ ├── clang-18.exe
│ ├── clang-check.exe
│ ├── clang-cl.exe
│ ├── clang-cpp.exe
│ ├── clang-doc.exe
│ ├── clang-format.exe
│ ├── clang-include-cleaner.exe
│ ├── clang-linker-wrapper.exe
│ ├── clang-refactor.exe
│ ├── clang-rename.exe
│ ├── clang-repl.exe
│ ├── clang-scan-deps.exe
│ ├── clang-target-wrapper.exe
│ ├── clang-tidy.exe
│ ├── clang.exe
│ ├── clangd.exe
│ ├── diagtool.exe
│ ├── gendef.exe
│ ├── git-clang-format
│ ├── git-clang-format.bat
│ ├── hmaptool
│ ├── ld.lld.exe
│ ├── libLTO.dll
│ ├── libRemarks.dll
│ ├── libc++.dll
│ ├── liblldb.dll
│ ├── libunwind.dll
│ ├── lld.exe
│ ├── lldb-argdumper.exe
│ ├── lldb-dap.exe
│ ├── lldb-instr.exe
│ ├── lldb-server.exe
│ ├── lldb.exe
│ ├── llvm-addr2line.exe
│ ├── llvm-ar.exe
│ ├── llvm-cov.exe
│ ├── llvm-cxxfilt.exe
│ ├── llvm-dlltool.exe
│ ├── llvm-nm.exe
│ ├── llvm-objcopy.exe
│ ├── llvm-objdump.exe
│ ├── llvm-profdata.exe
│ ├── llvm-ranlib.exe
│ ├── llvm-rc.exe
│ ├── llvm-readelf.exe
│ ├── llvm-readobj.exe
│ ├── llvm-size.exe
│ ├── llvm-strings.exe
│ ├── llvm-strip.exe
│ ├── llvm-symbolizer.exe
│ ├── llvm-windres.exe
│ ├── run-clang-tidy
│ ├── scan-build-py
│ └── widl.exe
├── distro-info
│ └── licenses
├── i686-w64-mingw32
│ ├── bin
│ ├── include
│ └── lib
├── include
├── lib
│ ├── clang
│ ├── cmake
│ ├── libLTO.dll.a
│ ├── libRemarks.dll.a
│ ├── libear
│ └── libscanbuild
├── libexec
│ ├── analyze-c++
│ ├── analyze-cc
│ ├── c++-analyzer
│ ├── c++-analyzer.bat
│ ├── ccc-analyzer
│ ├ ── ccc-analyzer.bat
│ ├── intercept-c++
│ └── intercept-cc
├── share
│ ├── clang
│ ├── opt-viewer
│ ├── scan-build
│ └── scan-view
└── x86_64-w64-mingw32
├── bin
├── include
└── lib
24 directories, 67 files
$ tree -L 2 ~/Library/xPacks/@xpack-dev-tools/clang/18.1.8-2/.content/
/Users/ilg/Library/xPacks/@xpack-dev-tools/clang/18.1.8-2/.content/
├── README.md
├── bin
│ ├── analyze-build
│ ├── clang -> clang-18
│ ├── clang++ -> clang
│ ├── clang-18
│ ├── clang-check
│ ├── clang-cl -> clang
│ ├── clang-cpp -> clang
│ ├── clang-doc
│ ├── clang-format
│ ├── clang-include-cleaner
│ ├── clang-linker-wrapper
│ ├── clang-refactor
│ ├── clang-rename
│ ├── clang-repl
│ ├── clang-scan-deps
│ ├── clang-tblgen
│ ├── clang-tidy
│ ├── clangd
│ ├── darwin-debug
│ ├── diagtool
│ ├── git-clang-format
│ ├── hmaptool
│ ├── ld.lld -> lld
│ ├── ld64.lld -> lld
│ ├── llc
│ ├── lld
│ ├── lld-link -> lld
│ ├── lldb
│ ├── lldb-argdumper
│ ├── lldb-dap
│ ├── lldb-instr
│ ├── lldb-server
│ ├── lli
│ ├── llvm-addr2line -> llvm-symbolizer
│ ├── llvm-ar
│ ├── llvm-as
│ ├── llvm-bitcode-strip -> llvm-objcopy
│ ├── llvm-config
│ ├── llvm-cov
│ ├── llvm-cxxdump
│ ├── llvm-cxxfilt
│ ├── llvm-cxxmap
│ ├── llvm-debuginfo-analyzer
│ ├── llvm-debuginfod
│ ├── llvm-debuginfod-find
│ ├── llvm-diff
│ ├── llvm-dis
│ ├── llvm-dlltool -> llvm-ar
│ ├── llvm-dwarfutil
│ ├── llvm-lib -> llvm-ar
│ ├── llvm-libtool-darwin
│ ├── llvm-nm
│ ├── llvm-objcopy
│ ├── llvm-objdump
│ ├── llvm-otool -> llvm-objdump
│ ├── llvm-profdata
│ ├── llvm-ranlib -> llvm-ar
│ ├── llvm-rc
│ ├── llvm-readelf -> llvm-readobj
│ ├── llvm-readobj
│ ├── llvm-readtapi
│ ├── llvm-remarkutil
│ ├── llvm-sim
│ ├── llvm-size
│ ├── llvm-strings
│ ├── llvm-strip -> llvm-objcopy
│ ├── llvm-symbolizer
│ ├── llvm-tblgen
│ ├── llvm-tli-checker
│ ├── llvm-windres -> llvm-rc
│ ├── run-clang-tidy
│ ├── scan-build-py
│ ├── set-xcode-analyzer
│ ├── split-file
│ └── wasm-ld -> lld
├── distro-info
│ └── licenses
├── include
│ ├── __libunwind_config.h
│ ├── c++
│ ├── libunwind.h
│ ├── libunwind.modulemap
│ ├── mach-o
│ ├── unwind.h
│ ├── unwind_arm_ehabi.h
│ └── unwind_itanium.h
├── lib
│ ├── LLVMPolly.so
│ ├── clang
│ ├── cmake
│ ├── libLLVM-18.dylib -> libLLVM.dylib
│ ├── libLLVM-C.dylib
│ ├── libLLVM.dylib
│ ├── libLTO.dylib
│ ├── libPolly.a
│ ├── libPollyISL.a
│ ├── libRemarks.dylib
│ ├── libc++.1.0.dylib
│ ├── libc++.1.dylib -> libc++.1.0.dylib
│ ├── libc++.a
│ ├── libc++.dylib -> libc++.1.dylib
│ ├── libc++abi.1.0.dylib
│ ├── libc++abi.1.dylib -> libc++abi.1.0.dylib
│ ├── libc++abi.a
│ ├── libc++abi.dylib -> libc++abi.1.dylib
│ ├── libc++experimental.a
│ ├── libclang-cpp.dylib
│ ├── libclang.dylib
│ ├── libear
│ ├── liblldb.18.1.8.dylib
│ ├── liblldb.dylib -> liblldb.18.1.8.dylib
│ ├── libscanbuild
│ ├── libunwind.1.0.dylib
│ ├── libunwind.1.dylib -> libunwind.1.0.dylib
│ ├── libunwind.a
│ └── libunwind.dylib -> libunwind.1.dylib
├── libexec
│ ├── analyze-c++
│ ├── analyze-cc
│ ├── c++-analyzer
│ ├── ccc-analyzer
│ ├── intercept-c++
│ ├── intercept-cc
│ ├── libedit.0.dylib
│ ├── libffi.8.dylib
│ ├── libform.6.dylib
│ ├── libiconv.2.dylib
│ ├── liblzma.5.dylib
│ ├── libncurses.6.dylib
│ ├── libpanel.6.dylib
│ ├── libxml2.2.dylib
│ ├── libz.1.3.1.dylib
│ └── libz.1.dylib -> libz.1.3.1.dylib
└── share
├── clang
├── opt-viewer
├── scan-build
└── scan-view
18 directories, 123 files
$ tree -L 2 ~/.local/xPacks/@xpack-dev-tools/clang/18.1.8-2/.content/
/home/ilg/.local/xPacks/@xpack-dev-tools/clang/18.1.8-2/.content/
├── README.md
├── bin
│ ├── analyze-build
│ ├── clang -> clang-18
│ ├── clang++ -> clang
│ ├── clang-18
│ ├── clang-check
│ ├── clang-cl -> clang
│ ├── clang-cpp -> clang
│ ├── clang-doc
│ ├── clang-format
│ ├── clang-include-cleaner
│ ├── clang-linker-wrapper
│ ├── clang-refactor
│ ├── clang-rename
│ ├── clang-repl
│ ├── clang-scan-deps
│ ├── clang-tblgen
│ ├── clang-tidy
│ ├── clangd
│ ├── diagtool
│ ├── dwp
│ ├── git-clang-format
│ ├── hmaptool
│ ├── ld.gold
│ ├── ld.lld -> lld
│ ├── ld64.lld -> lld
│ ├── llc
│ ├── lld
│ ├── lld-link -> lld
│ ├── lldb
│ ├── lldb-argdumper
│ ├── lldb-dap
│ ├── lldb-instr
│ ├── lldb-server
│ ├── lli
│ ├── llvm-addr2line -> llvm-symbolizer
│ ├── llvm-ar
│ ├── llvm-as
│ ├── llvm-bitcode-strip -> llvm-objcopy
│ ├── llvm-config
│ ├── llvm-cov
│ ├── llvm-cxxdump
│ ├── llvm-cxxfilt
│ ├── llvm-cxxmap
│ ├── llvm-debuginfo-analyzer
│ ├── llvm-debuginfod
│ ├── llvm-debuginfod-find
│ ├── llvm-diff
│ ├── llvm-dis
│ ├── llvm-dlltool -> llvm-ar
│ ├── llvm-dwarfutil
│ ├── llvm-lib -> llvm-ar
│ ├── llvm-libtool-darwin
│ ├── llvm-nm
│ ├── llvm-objcopy
│ ├── llvm-objdump
│ ├── llvm-otool -> llvm-objdump
│ ├── llvm-profdata
│ ├── llvm-ranlib -> llvm-ar
│ ├── llvm-rc
│ ├── llvm-readelf -> llvm-readobj
│ ├── llvm-readobj
│ ├── llvm-readtapi
│ ├── llvm-remarkutil
│ ├── llvm-sim
│ ├── llvm-size
│ ├── llvm-strings
│ ├── llvm-strip -> llvm-objcopy
│ ├── llvm-symbolizer
│ ├── llvm-tblgen
│ ├── llvm-tli-checker
│ ├── llvm-windres -> llvm-rc
│ ├── run-clang-tidy
│ ├── scan-build-py
│ ├── split-file
│ └── wasm-ld -> lld
├── distro-info
│ └── licenses
├── include
│ ├── __libunwind_config.h
│ ├── c++
│ ├── i386-unknown-linux-gnu
│ ├── libunwind.h
│ ├── libunwind.modulemap
│ ├── mach-o
│ ├── unwind.h
│ ├── unwind_arm_ehabi.h
│ ├── unwind_itanium.h
│ └── x86_64-unknown-linux-gnu
├── lib
│ ├── LLVMPolly.so
│ ├── LLVMgold.so
│ ├── clang
│ ├── cmake
│ ├── i386-unknown-linux-gnu
│ ├── libLLVM-18.so -> libLLVM.so.18.1
│ ├── libLLVM.so -> libLLVM.so.18.1
│ ├── libLLVM.so.18.1
│ ├── libLTO.so -> libLTO.so.18.1
│ ├── libLTO.so.18.1
│ ├── libPolly.a
│ ├── libPollyISL.a
│ ├── libRemarks.so -> libRemarks.so.18.1
│ ├── libRemarks.so.18.1
│ ├── libclang-cpp.so -> libclang-cpp.so.18.1
│ ├── libclang-cpp.so.18.1
│ ├── libclang.so -> libclang.so.18.1
│ ├── libclang.so.18.1 -> libclang.so.18.1.8
│ ├── libclang.so.18.1.8
│ ├── libear
│ ├── liblldb.so -> liblldb.so.18.1
│ ├── liblldb.so.18.1 -> liblldb.so.18.1.8
│ ├── liblldb.so.18.1.8
│ ├── liblldbIntelFeatures.so -> liblldbIntelFeatures.so.18.1
│ ├── liblldbIntelFeatures.so.18.1
│ ├── libscanbuild
│ └── x86_64-unknown-linux-gnu
├── libexec
│ ├── analyze-c++
│ ├── analyze-cc
│ ├── c++-analyzer
│ ├── ccc-analyzer
│ ├── intercept-c++
│ ├── intercept-cc
│ ├── libLLVM.so.18.1
│ ├── libatomic.so.1 -> libatomic.so.1.2.0
│ ├── libatomic.so.1.2.0
│ ├── libclang-cpp.so.18.1
│ ├── libedit.so.0 -> libedit.so.0.0.73
│ ├── libedit.so.0.0.73
│ ├── libffi.so.8 -> libffi.so.8.1.4
│ ├── libffi.so.8.1.4
│ ├── libform.so.6 -> libform.so.6.5
│ ├── libform.so.6.5
│ ├── libgcc_s.so.1
│ ├── libiconv.so.2 -> libiconv.so.2.6.1
│ ├── libiconv.so.2.6.1
│ ├── liblldb.so.18.1 -> liblldb.so.18.1.8
│ ├── liblldb.so.18.1.8
│ ├── liblzma.so.5 -> liblzma.so.5.4.6
│ ├── liblzma.so.5.4.6
│ ├── libncurses.so.6 -> libncurses.so.6.5
│ ├── libncurses.so.6.5
│ ├── libpanel.so.6 -> libpanel.so.6.5
│ ├── libpanel.so.6.5
│ ├── libstdc++.so.6 -> libstdc++.so.6.0.32
│ ├── libstdc++.so.6.0.32
│ ├── libxml2.so.2 -> libxml2.so.2.12.7
│ ├── libxml2.so.2.12.7
│ ├── libz.so.1 -> libz.so.1.3.1
│ └── libz.so.1.3.1
└── share
├── clang
├── opt-viewer
├── scan-build
└── scan-view
22 directories, 136 files