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

Last updated: May 16,2024

1. Install "clang-format-16" package

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

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

2. Uninstall "clang-format-16" package

Please follow the step by step instructions below to uninstall clang-format-16 on Debian 12 (Bookworm):

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

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

Package: clang-format-16
Source: llvm-toolchain-16
Version: 1:16.0.6-15~deb12u1
Installed-Size: 221
Maintainer: LLVM Packaging Team
Architecture: amd64
Depends: libc6 (>= 2.34), libclang-cpp16 (>= 1:16.0.6), libgcc-s1 (>= 3.0), libllvm16 (= 1:16.0.6-15~deb12u1), 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-16/clang-format-16_16.0.6-15~deb12u1_amd64.deb
Size: 81824
MD5sum: d29dd98de24d1d2f22212ea349dbb532
SHA256: 10927c6c2363af8c4d9941a0bcbcf658285247ad39ea0f8fb12eb6565434ce05