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

Last updated: November 23,2024

1. Install "clang-format-7" package

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

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

2. Uninstall "clang-format-7" package

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

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

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

Package: clang-format-7
Architecture: amd64
Version: 1:7.0.1-12
Priority: optional
Section: universe/devel
Source: llvm-toolchain-7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1575
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libllvm7 (= 1:7.0.1-12), libstdc++6 (>= 5.2), python2
Filename: pool/universe/l/llvm-toolchain-7/clang-format-7_7.0.1-12_amd64.deb
Size: 492196
MD5sum: b71196644944cfd07b22c20320ee4ba9
SHA1: 3b4b93420f1639f87040f6f5944fd59ad10f6373
SHA256: 02c4c765d4652c97c96d7e86c64c3fd9bbf430c63e9c877c31759babd65c48e9
Homepage: https://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4