How to Install and Uninstall clang-format-11 Package on Ubuntu 21.10 (Impish Indri)

Last updated: March 28,2024

1. Install "clang-format-11" package

Please follow the guidance below to install clang-format-11 on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "clang-format-11" package

This guide let you learn how to uninstall clang-format-11 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the clang-format-11 package on Ubuntu 21.10 (Impish Indri)

Package: clang-format-11
Architecture: amd64
Version: 1:11.0.1-2ubuntu5
Priority: optional
Section: universe/devel
Source: llvm-toolchain-11
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 200
Depends: libc6 (>= 2.32), libclang-cpp11 (>= 1:11.0.1), libgcc-s1 (>= 3.0), libllvm11 (= 1:11.0.1-2ubuntu5), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-11/clang-format-11_11.0.1-2ubuntu5_amd64.deb
Size: 44674
MD5sum: 774d0fb65ecd4c39b7b813945a9c8db4
SHA1: 9fbbfb3c03c691135b357edd0bfb44a812e5d3c6
SHA256: ce0cf65c8df6aaa3cf90243da4462f73e0ca742f9b3cc559a90de175f13c0830
SHA512: 51b579d3357eac5444565896c2b48b0c3e44336388cbe1976e9de53dd6cdfd9e4432e1a9665d52f4eabc6a5d3bbba1cf95c316d370ab47884c2e9d7b975f7c4a
Homepage: https://www.llvm.org/
Description-en: 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