How to Install and Uninstall clang-format Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 22,2024

1. Install "clang-format" package

Please follow the guidelines below to install clang-format on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install clang-format

2. Uninstall "clang-format" package

This guide let you learn how to uninstall clang-format on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the clang-format package on Ubuntu 22.10 (Kinetic Kudu)

Package: clang-format
Architecture: amd64
Version: 1:14.0-55.1
Multi-Arch: same
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.55.1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: clang-format-14 (>= 14~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-format_14.0-55.1_amd64.deb
Size: 3480
MD5sum: 141e3be81767c85d0dcd9fd5aa358841
SHA1: 52025a9ce5bcaeebacf2ec823cfd944308f479de
SHA256: 25c9d44de68995200ca5c4dc046336e3bfa2e5e7c37045c0c821b98841f6e64c
SHA512: aff780c07ad666ab637992e6b98be33a93c6be90ee798ba841f2b47cc0b5a4977cfb1756f3af0e380ec98b0dd0eb003eefd5c88cceda879efa4c101b76f79e19
Description: Tool to format C/C++/Obj-C code
Description-md5: b50362fb3abbe4fca65017f3e1c209b3