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

Last updated: May 10,2024

1. Install "clang-format-10" package

In this section, we are going to explain the necessary steps to install clang-format-10 on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "clang-format-10" package

In this section, we are going to explain the necessary steps to uninstall clang-format-10 on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: clang-format-10
Architecture: amd64
Version: 1:10.0.1-6
Priority: optional
Section: universe/devel
Source: llvm-toolchain-10
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 191
Depends: libc6 (>= 2.14), libclang-cpp10, libgcc-s1 (>= 3.0), libllvm10 (= 1:10.0.1-6), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-10/clang-format-10_10.0.1-6_amd64.deb
Size: 41004
MD5sum: 578663e610ee5d3a5ed5351231345194
SHA1: 7cf8edaf7617977fc112541ca82136ce0b1f5fab
SHA256: 2d26e3e2af026a3aa8aa0edbb13cd6fcc4785368862dfb2576839400cb07ee5f
SHA512: de119603011044ecc86b43203a530d4b967975014db758c1c5c7cbdb5b856067e438fd7d1823a7c7d7450b2bbef485f43fa67cf972953e7c22cbd01cdd49bdbd
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