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

Last updated: April 28,2024

1. Install "clang-format-13" package

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

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

2. Uninstall "clang-format-13" package

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

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

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

Package: clang-format-13
Architecture: amd64
Version: 1:13.0.0-2
Priority: optional
Section: universe/devel
Source: llvm-toolchain-13
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 215
Depends: libc6 (>= 2.34), libclang-cpp13 (>= 1:13.0.0), libgcc-s1 (>= 3.0), libllvm13 (= 1:13.0.0-2), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-13/clang-format-13_13.0.0-2_amd64.deb
Size: 47168
MD5sum: 9150ac108d8fe36e985e28544e15cb6d
SHA1: e7afc7d513b1c479f529ff3a30ca87077087ab7d
SHA256: 51cc7640e3d06e3fa20797de946d1620e402d7071c5a3448c3f194603937f965
SHA512: b345d4c5a6feffe4e97271334fe32bd9c050a3b4378073621a0021e5074db687c7300873520bf08f05dceae72e5ccff34e377b0b021c9ab7fbbebe82a7c92b45
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