clang-format-12 on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 03,2022

1. Install clang-format-12 package

In this section, we are going to explain the necessary steps to install clang-format-12 package:

sudo apt update
sudo apt install clang-format-12

2. Uninstall / Remove clang-format-12 package

Please follow the guidelines below to uninstall clang-format-12 package:

sudo apt remove clang-format-12
sudo apt autoclean && sudo apt autoremove

3. Details of clang-format-12 package

Package: clang-format-12
Architecture: amd64
Version: 1:12.0.0-3ubuntu1~20.04.5
Priority: optional
Section: universe/devel
Source: llvm-toolchain-12
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 204
Depends: libc6 (>= 2.14), libclang-cpp12 (>= 1:12.0.0), libgcc-s1 (>= 3.0), libllvm12 (= 1:12.0.0-3ubuntu1~20.04.5), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-12/clang-format-12_12.0.0-3ubuntu1~20.04.5_amd64.deb
Size: 43608
MD5sum: 50b0366a7bccec89ecdfecf283d3d146
SHA1: d9cc884ee820eff56f9afaf41017916e571ba902
SHA256: e766d5935835fd9f195bba023a1f52d23cbfa3b3b71367aff14554543422f342
SHA512: cfaac48ffb1defdd9a8d125d4bd80a7ed442534ccfdbd09a646cc58cfb5acb85f8a09789d6eda53542481bcfaa51f7867145f31ee7ff8fa6f818bfbcdad9cedb
Homepage: https://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4