How to Install and Uninstall clang-format Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 07,2024

1. Install "clang-format" package

In this section, we are going to explain the necessary steps to install clang-format on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install clang-format

2. Uninstall "clang-format" package

Please follow the instructions below to uninstall clang-format on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the clang-format package on Ubuntu 23.10 (Mantic Minotaur)

Package: clang-format
Architecture: amd64
Version: 1:16.0-57
Multi-Arch: same
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.57)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Depends: clang-format-16 (>= 16~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-format_16.0-57_amd64.deb
Size: 5386
MD5sum: 6359885b18ef74e1900e6cbdee56099b
SHA1: 9417c23956d46492dde5b309e44d8f6014f90cad
SHA256: e262bb2978618956f6fe8cf00b79cfe992e7f055827d015e23d1f44ee35403b8
SHA512: 269312b387e00993f8da539924cf1df35f88c4497704c2db5a30fcbaba0972206386284bb6f8cd4721dbc4525ad943230776afe580eb3df425b7980b35dbd488
Description: Tool to format C/C++/Obj-C code
Description-md5: b50362fb3abbe4fca65017f3e1c209b3