How to Install and Uninstall bear Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 12,2024

1. Install "bear" package

Please follow the instructions below to install bear on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install bear

2. Uninstall "bear" package

Please follow the step by step instructions below to uninstall bear on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove bear $ sudo apt autoclean && sudo apt autoremove

3. Information about the bear package on Ubuntu 21.04 (Hirsute Hippo)

Package: bear
Architecture: amd64
Version: 3.0.8-1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sebastian Ramacher
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1531
Depends: libear (= 3.0.8-1), libc6 (>= 2.17), libfmt7 (>= 7.1.3+ds1), libgcc-s1 (>= 3.0), libgrpc++1 (>= 1.30.2), libgrpc10 (>= 1.30.2), libprotobuf23 (>= 3.12.4), libspdlog1-fmt7, libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 9)
Filename: pool/universe/b/bear/bear_3.0.8-1_amd64.deb
Size: 338576
MD5sum: ccc34326fdaba23324fdb1433710599f
SHA1: 446d83dece04eda7afef67d30a49e323a44d9ef2
SHA256: 311b89776879d343ed05d6d0e116ea7f5e49b90b53435929c7b69360ff7a948d
SHA512: af6f1fe091f5d978f662c9f65e622045b2c0ce1a759d6a998edad28c05ead5d3f0fc3f1501e43638af3049a8538ac323155f4c9455cb1e597512131dd0ab973c
Homepage: https://github.com/rizsotto/Bear
Description-en: generate compilation database for Clang tooling
Bear records the flags passed to the compiler for each translation unit and
stores them in a JSON file. This file can be used by Clang's tooling interface
and programs like clang-check to process a translation unit.
.
cmake supports the generation of JSON compilation databases out of the box.
For any other build system that does not support this, Bear can be used
instead to intercept the invocation of the compiler.
Description-md5: 7181645ef316f8148f4d7cc522b76bf9