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

Last updated: April 26,2024

1. Install "clang-format-12" package

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

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

2. Uninstall "clang-format-12" package

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

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

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

Package: clang-format-12
Source: llvm-toolchain-12 (1:12.0.1-20)
Version: 1:12.0.1-20+b1
Installed-Size: 214
Maintainer: LLVM Packaging Team
Architecture: amd64
Depends: libc6 (>= 2.32), libclang-cpp12 (>= 1:12.0.1), libgcc-s1 (>= 3.0), libllvm12 (= 1:12.0.1-20+b1), libstdc++6 (>= 5.2), python3
Size: 91492
SHA256: b45eefe3cba906cf349549c01ca4fc5aaea9636222c696368f66a985cf23b7a4
SHA1: adba4abc2509d6dfc51d6f80e5e0ded0a6804bc9
MD5sum: 6c5f7ca12482568d6d67832b4e1fa97b
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 package also provides vim and emacs plugins.
Description-md5: 5fdb7838fa336de9de2703cb644c12e4
Homepage: https://www.llvm.org/
Section: devel
Priority: optional
Filename: pool/main/l/llvm-toolchain-12/clang-format-12_12.0.1-20+b1_amd64.deb