How to Install and Uninstall clang-format Package on Linux Mint 20.3 (Una)

Last updated: November 25,2024

1. Install "clang-format" package

Here is a brief guide to show you how to install clang-format on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install clang-format

2. Uninstall "clang-format" package

Learn how to uninstall clang-format on Linux Mint 20.3 (Una):

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

3. Information about the clang-format package on Linux Mint 20.3 (Una)

Package: clang-format
Architecture: amd64
Version: 1:10.0-50~exp1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.50~exp1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Depends: clang-format-10 (>= 10~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-format_10.0-50~exp1_amd64.deb
Size: 3272
MD5sum: 650b7d6c3202e5cb3eb7fcc3df18f232
SHA1: fabef8898bad2683f07586c68b446e075e8d088d
SHA256: 49999b4f6f0644876cfaabd67d470cce2562eb6f83300473300e7eda4a33eac4
Description: Tool to format C/C++/Obj-C code
Description-md5: b50362fb3abbe4fca65017f3e1c209b3