How to Install and Uninstall iwyu Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 28,2024
1. Install "iwyu" package
Learn how to install iwyu on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
iwyu
Copied
2. Uninstall "iwyu" package
Learn how to uninstall iwyu on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
iwyu
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the iwyu package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: iwyu
Priority: extra
Section: universe/devel
Installed-Size: 27303
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Architecture: amd64
Version: 3.7-1
Depends: libc6 (>= 2.15), libgcc1 (>= 1:3.4), libstdc++6 (>= 5.2), libtinfo5 (>= 6), zlib1g (>= 1:1.2.0), clang-3.5 | clang-3.6 | clang-3.7 | clang-3.8, python
Filename: pool/universe/i/iwyu/iwyu_3.7-1_amd64.deb
Size: 6872796
MD5sum: e4c7c2519d6bed0f01505cea1d1e3762
SHA1: f80a5d27002d3c79b707bf0b8216c34c3c95e51e
SHA256: 9ee7fb7340134cf935a3a4e296ac5d258cc90c6ffb76c57727068a329d7fcd8d
Description-en: Analyze #includes in C and C++ source files
"Include what you use" means this: for every symbol (type, function variable,
or macro) that you use in foo.cc, either foo.cc or foo.h should #include a .h
file that exports the declaration of that symbol. The include-what-you-use
tool is a program that can be built with the clang libraries in order to
analyze #includes of source files to find include-what-you-use violations,
and suggest fixes for them.
.
The main goal of include-what-you-use is to remove superfluous #includes.
It does this both by figuring out what #includes are not actually needed for
this file (for both .cc and .h files), and replacing #includes with
forward-declares when possible.
Description-md5: 9a2968593adb5f99f5bf60fc4f4f341a
Homepage: http://include-what-you-use.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: extra
Section: universe/devel
Installed-Size: 27303
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Architecture: amd64
Version: 3.7-1
Depends: libc6 (>= 2.15), libgcc1 (>= 1:3.4), libstdc++6 (>= 5.2), libtinfo5 (>= 6), zlib1g (>= 1:1.2.0), clang-3.5 | clang-3.6 | clang-3.7 | clang-3.8, python
Filename: pool/universe/i/iwyu/iwyu_3.7-1_amd64.deb
Size: 6872796
MD5sum: e4c7c2519d6bed0f01505cea1d1e3762
SHA1: f80a5d27002d3c79b707bf0b8216c34c3c95e51e
SHA256: 9ee7fb7340134cf935a3a4e296ac5d258cc90c6ffb76c57727068a329d7fcd8d
Description-en: Analyze #includes in C and C++ source files
"Include what you use" means this: for every symbol (type, function variable,
or macro) that you use in foo.cc, either foo.cc or foo.h should #include a .h
file that exports the declaration of that symbol. The include-what-you-use
tool is a program that can be built with the clang libraries in order to
analyze #includes of source files to find include-what-you-use violations,
and suggest fixes for them.
.
The main goal of include-what-you-use is to remove superfluous #includes.
It does this both by figuring out what #includes are not actually needed for
this file (for both .cc and .h files), and replacing #includes with
forward-declares when possible.
Description-md5: 9a2968593adb5f99f5bf60fc4f4f341a
Homepage: http://include-what-you-use.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu