How to Install and Uninstall clang-format-18 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 20,2024

1. Install "clang-format-18" package

Please follow the step by step instructions below to install clang-format-18 on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "clang-format-18" package

This tutorial shows how to uninstall clang-format-18 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the clang-format-18 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: clang-format-18
Architecture: amd64
Version: 1:18.1.0~rc2-4
Priority: optional
Section: universe/devel
Source: llvm-toolchain-18
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 235
Depends: libc6 (>= 2.34), libclang-cpp18 (>= 1:18.1.0~rc2), libgcc-s1 (>= 3.0), libllvm18 (= 1:18.1.0~rc2-4), libstdc++6 (>= 11), python3
Filename: pool/universe/l/llvm-toolchain-18/clang-format-18_18.1.0~rc2-4_amd64.deb
Size: 53590
MD5sum: b8eb6e19a1cac6bcf8ff0c3281221e41
SHA1: 0729e646b5f0ae51c855a15facb16e233c1861a4
SHA256: 8c117dd55d34392866e99fbd456204c35d8456833a9d83f4b5550a2216f12519
SHA512: 41aa250be1671e634a3c51674fabacd22af601e0fc2aabbe2ada6443e370c995060689c642c6491768aa464a14908d7cb06e76fc9a0113e275822d4c70498b7f
Homepage: https://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4