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

Last updated: May 10,2024

1. Install "clang-format-16" package

In this section, we are going to explain the necessary steps to install clang-format-16 on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "clang-format-16" package

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

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

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

Package: clang-format-16
Architecture: amd64
Version: 1:16.0.6-19build1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-16
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 222
Depends: libc6 (>= 2.34), libclang-cpp16 (>= 1:16.0.6), libgcc-s1 (>= 3.0), libllvm16 (= 1:16.0.6-19build1), libstdc++6 (>= 11), python3
Filename: pool/universe/l/llvm-toolchain-16/clang-format-16_16.0.6-19build1_amd64.deb
Size: 51682
MD5sum: 304ec38e32e24356e24d476758d310d9
SHA1: d096957fa8cb8717774729b06f176f6705400258
SHA256: 7bc8c6a99870233d3cb1c06e948b2eae45fb2653c9aa654b476e232460dab578
SHA512: c5a65d75ab8cb21d671835ec9c9ec85e7aa7024664919bcfc2a750cb5d1d645cdd1ce4fd919974eff3688e265d796bded9fe02537ede0cf9c7d8fde5e03454cf
Homepage: https://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4