How to Install and Uninstall clang-format Package on Linux Mint 21.3 (Virginia)

Last updated: December 23,2024

1. Install "clang-format" package

Please follow the instructions below to install clang-format on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install clang-format

2. Uninstall "clang-format" package

This guide covers the steps necessary to uninstall clang-format on Linux Mint 21.3 (Virginia):

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

3. Information about the clang-format package on Linux Mint 21.3 (Virginia)

Package: clang-format
Architecture: amd64
Version: 1:14.0-55~exp2
Multi-Arch: same
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.55~exp2)
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~exp2_amd64.deb
Size: 3694
MD5sum: 2f179daf00737d2f7ed051f3dee26049
SHA1: cdd9765cf9db4ad02e0af0bc43d4af9f30cde009
SHA256: c8657ebafa34ca91bfeda87d53fe4d519575612dfa13480bf8c6bcda2163138a
SHA512: 80717b3cf9530cb99b1ac760b2752ab9a747c4c1aaf5da8ae9a538a974aee8399391ba330a77bad9dcb7ab203cfc0f10701920bb90cb81a25ec74875e01c9b20
Description: Tool to format C/C++/Obj-C code
Description-md5: b50362fb3abbe4fca65017f3e1c209b3