How to Install and Uninstall clang-format Package on Kali Linux

Last updated: May 11,2024

1. Install "clang-format" package

This guide let you learn how to install clang-format on Kali Linux

$ sudo apt update $ sudo apt install clang-format

2. Uninstall "clang-format" package

Please follow the steps below to uninstall clang-format on Kali Linux:

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

3. Information about the clang-format package on Kali Linux

Package: clang-format
Source: llvm-defaults (0.57)
Version: 1:16.0-57
Installed-Size: 29
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: clang (<< 1:3.6-28)
Depends: clang-format-16 (>= 16~)
Breaks: clang (<< 1:3.6-28)
Size: 5480
SHA256: 6ec1e751bca7ae16a82155ea4784672c3e764b252ed45b9247524c65abb4b035
SHA1: b0a6fca0f1e93c2bd21b683b2daa1ee0689c4386
MD5sum: 4d489761334bf72f0187f0d85eede758
Description: Tool to format C/C++/Obj-C code
Clang-format is both a library and a stand-alone tool with the goal of
automatically reformatting C++ sources files according to configurable
style guides. To do so, clang-format uses Clang's Lexer to transform an
input file into a token stream and then changes all the whitespace around
those tokens. The goal is for clang-format to both serve both as a user
tool (ideally with powerful IDE integrations) and part of other
refactoring tools, e.g. to do a reformatting of all the lines changed
during a renaming.
.
This is a dependency package providing the clang format tool.
Description-md5:
Multi-Arch: same
Section: devel
Priority: optional
Filename: pool/main/l/llvm-defaults/clang-format_16.0-57_amd64.deb