How to Install and Uninstall clang-format-15 Package on Debian 12 (Bookworm)

Last updated: November 07,2024

1. Install "clang-format-15" package

This is a short guide on how to install clang-format-15 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install clang-format-15

2. Uninstall "clang-format-15" package

This tutorial shows how to uninstall clang-format-15 on Debian 12 (Bookworm):

$ sudo apt remove clang-format-15 $ sudo apt autoclean && sudo apt autoremove

3. Information about the clang-format-15 package on Debian 12 (Bookworm)

Package: clang-format-15
Source: llvm-toolchain-15 (1:15.0.6-4)
Version: 1:15.0.6-4+b1
Installed-Size: 217
Maintainer: LLVM Packaging Team
Architecture: amd64
Depends: libc6 (>= 2.34), libclang-cpp15 (>= 1:15.0.6), libgcc-s1 (>= 3.0), libllvm15 (= 1:15.0.6-4+b1), libstdc++6 (>= 11), python3
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4
Homepage: https://www.llvm.org/
Section: devel
Priority: optional
Filename: pool/main/l/llvm-toolchain-15/clang-format-15_15.0.6-4+b1_amd64.deb
Size: 78268
MD5sum: 06293c95606e744a93fa6d5d1469f41b
SHA256: 7181ca8c3fd5a0911c31b973ca3acb406bb1e5ba77f9764e9c5124687235a0f1