How to Install and Uninstall clang-format Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: December 27,2024
1. Install "clang-format" package
Please follow the steps below to install clang-format on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
clang-format
Copied
2. Uninstall "clang-format" package
This guide let you learn how to uninstall clang-format on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
clang-format
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the clang-format package on Ubuntu 20.04 LTS (Focal Fossa)
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
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