How to Install and Uninstall clang-format Package on Debian 11 (Bullseye)

Last updated: May 07,2024

1. Install "clang-format" package

Please follow the guidelines below to install clang-format on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install clang-format

2. Uninstall "clang-format" package

Learn how to uninstall clang-format on Debian 11 (Bullseye):

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

3. Information about the clang-format package on Debian 11 (Bullseye)

Package: clang-format
Source: llvm-defaults (0.51+nmu5)
Version: 1:11.0-51+nmu5
Installed-Size: 30
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: clang (<< 1:3.6-28)
Depends: clang-format-11 (>= 11~)
Breaks: clang (<< 1:3.6-28)
Description: Tool to format C/C++/Obj-C code
Description-md5: b50362fb3abbe4fca65017f3e1c209b3
Section: devel
Priority: optional
Filename: pool/main/l/llvm-defaults/clang-format_11.0-51+nmu5_amd64.deb
Size: 8860
MD5sum: f2a53610bad9abbcb5f71dc4b33bfa6d
SHA256: ab3b829f5babea10b214b08526cef7fdb28cc00289c4c86ef950bfe1e266b2a4