How to Install and Uninstall clang-format-11 Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: April 29,2024

1. Install "clang-format-11" package

This is a short guide on how to install clang-format-11 on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "clang-format-11" package

Please follow the instructions below to uninstall clang-format-11 on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the clang-format-11 package on Ubuntu 20.10 (Groovy Gorilla)

Package: clang-format-11
Architecture: amd64
Version: 1:11.0.0-2
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: 193
Depends: libc6 (>= 2.14), libclang-cpp11, libgcc-s1 (>= 3.0), libllvm11 (= 1:11.0.0-2), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-11/clang-format-11_11.0.0-2_amd64.deb
Size: 41356
MD5sum: 65d9b0ae7e2a3e04d43b8d97b3d7aef3
SHA1: daf07083db87f40cf84c1208b8ffb390a598b09e
SHA256: 615dc576d7a206b91add3f336d7804f7fd257ba967c44fcd3ab978d1d809b906
SHA512: 98bb1ad2b444d2a0d5b9fac44973b6df49faa5cbc66b78a6216e284c429017310c1ebaf6063041acf809e7f6f49e3d7faefa21466823d470319cb58d09130670
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