How to Install and Uninstall clang-format-3.9 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 27,2024

1. Install "clang-format-3.9" package

Please follow the steps below to install clang-format-3.9 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install clang-format-3.9

2. Uninstall "clang-format-3.9" package

Please follow the steps below to uninstall clang-format-3.9 on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the clang-format-3.9 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: clang-format-3.9
Architecture: amd64
Version: 1:3.9.1-4ubuntu3~16.04.2
Priority: optional
Section: universe/devel
Source: llvm-toolchain-3.9
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1515
Depends: libc6 (>= 2.14), libllvm3.9, libstdc++6 (>= 5.2), python
Breaks: clang-format-3.3
Replaces: clang-format-3.3
Filename: pool/universe/l/llvm-toolchain-3.9/clang-format-3.9_3.9.1-4ubuntu3~16.04.2_amd64.deb
Size: 485262
MD5sum: a0c57cc399e2e29c3fe2e1b5e82cc824
SHA1: 9c7a8b9172ae4e3ebabd46d1e952c30cbfa83679
SHA256: 3a2e0fd7cc0f6243e9eb895f5b61353ba4efaa0ccbbdbc162f2658e2d552a230
SHA512: 8d76676c9ef103c67498b4123e2faedca062752294da8432a28e2a48253b312741d371c672b28f97762c434c2dd695d44b285306895076c505c78395bafed8a4
Homepage: http://www.llvm.org/
Description-en: Tool to format C/C++/Obj-C code
Clang-format is both a library and a stand-alone tool with the goal of
automatically reformatting C++ sources files according to configurable
style guides. To do so, clang-format uses Clang's Lexer to transform an
input file into a token stream and then changes all the whitespace around
those tokens. The goal is for clang-format to both serve both as a user
tool (ideally with powerful IDE integrations) and part of other
refactoring tools, e.g. to do a reformatting of all the lines changed
during a renaming.
.
This package also provides vim and emacs plugins.
Description-md5: 5fdb7838fa336de9de2703cb644c12e4