How to Install and Uninstall clang-format-9 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 23,2024

1. Install "clang-format-9" package

Please follow the steps below to install clang-format-9 on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "clang-format-9" package

Here is a brief guide to show you how to uninstall clang-format-9 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the clang-format-9 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: clang-format-9
Architecture: amd64
Version: 1:9.0.1-12
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-12), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-9/clang-format-9_9.0.1-12_amd64.deb
Size: 38448
MD5sum: ec2e68315f53543c94ef32fcad543460
SHA1: 884bdc83a58b157dfc20c389d7ed705edd9a1c58
SHA256: d7b828a88d50f585dd89ed4a4ff85f9789e5b698ea76421d33e4dac68bf9cd1f
Homepage: https://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4