How to Install and Uninstall clang-format-7 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 07,2024

1. Install "clang-format-7" package

Here is a brief guide to show you how to install clang-format-7 on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "clang-format-7" package

Please follow the steps below to uninstall clang-format-7 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the clang-format-7 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: clang-format-7
Architecture: amd64
Version: 1:7-3~ubuntu0.18.04.1
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: 1981
Depends: libc6 (>= 2.14), libllvm7 (= 1:7-3~ubuntu0.18.04.1), libstdc++6 (>= 5.2), python
Filename: pool/universe/l/llvm-toolchain-7/clang-format-7_7-3~ubuntu0.18.04.1_amd64.deb
Size: 608400
MD5sum: 75943a063abf141fdbeabdab4599d398
SHA1: a8718bf376a2dadb90d53488b93b0fd92477d5a2
SHA256: 074eea61f8e9c552d0bf4cfdeee476a92fbb604ea7da7278f963bec36bfc8f28
SHA512: cd9f9467aa0c91baf9a6eb3631061e643060eaf9fce0d44e8721890f6990ef424ffceb5e54d3c215ac6d284c530efac7a155ef8b061ca1c51eac097dc794696a
Homepage: https://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4