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

Last updated: May 08,2024

1. Install "clang-format-9" package

Please follow the guidelines below to install clang-format-9 on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "clang-format-9" package

This guide let you learn how to uninstall clang-format-9 on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: clang-format-9
Architecture: amd64
Version: 1:9.0.1-14build1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-9
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 177
Depends: libc6 (>= 2.14), libclang-cpp9, libgcc-s1 (>= 3.0), libllvm9 (= 1:9.0.1-14build1), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-9/clang-format-9_9.0.1-14build1_amd64.deb
Size: 38568
MD5sum: 825d015a912773f61aa5b9f93ad21d03
SHA1: 2acc76267f446e45654e0eb9cc099364aee754fe
SHA256: 81eb6a5f121360c7dc4f443dac4bed33a962f6931a9ac75f73f3d6c0d6c9e2cc
SHA512: fb259fcc2ba98988a09e2fc58c2e015add4a2f9eb78d6e8a71451d02f69a67817d300992f65e58318d2623da8a3621f87f0c1bde2196d28ff50ad6a8b858773a
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