How to Install and Uninstall clang-format Package on Debian 10 (Buster)

Last updated: May 02,2024

1. Install "clang-format" package

Please follow the guidelines below to install clang-format on Debian 10 (Buster)

$ sudo apt update $ sudo apt install clang-format

2. Uninstall "clang-format" package

In this section, we are going to explain the necessary steps to uninstall clang-format on Debian 10 (Buster):

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

3. Information about the clang-format package on Debian 10 (Buster)

Package: clang-format
Source: llvm-defaults (0.47)
Version: 1:7.0-47
Installed-Size: 29
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: clang (<< 1:3.6-28)
Depends: clang-format-7 (>= 7~)
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_7.0-47_amd64.deb
Size: 7456
MD5sum: 2c78140d2b4227684efdb6f29ada5e79
SHA256: c1507f8ea3d644544ad33aa62bb87709d068350eede2530d7efe25d79197cebd