How to Install and Uninstall libgc-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "libgc-dev" package

Please follow the guidelines below to install libgc-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libgc-dev

2. Uninstall "libgc-dev" package

This guide covers the steps necessary to uninstall libgc-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libgc-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libgc-dev package on Ubuntu 21.10 (Impish Indri)

Package: libgc-dev
Architecture: amd64
Version: 1:8.0.4-3
Multi-Arch: same
Priority: optional
Section: devel
Source: libgc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Egger
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 947
Depends: libgc1 (= 1:8.0.4-3), libc-dev
Filename: pool/main/libg/libgc/libgc-dev_8.0.4-3_amd64.deb
Size: 248428
MD5sum: 76d522c689139f19b458aa72d087248b
SHA1: 5274930e26061b6cbd4c230d444a9c5d16f66bba
SHA256: 6b0892dd84c8153890ba3da72f141499241c6dc4db37447aca4897f42b7005bb
SHA512: 30fe14e7d5c62f75bc5f86f91d3fa5400f6bef485a2feae59b11470c95479b240e60368cc2b70984905d99c8a598ffd73700751c8475df8ec58bba5567757f86
Homepage: http://www.hboehm.info/gc/
Description-en: conservative garbage collector for C (development)
Boehm-Demers-Weiser's GC is a garbage collecting storage allocator that is
intended to be used as a plug-in replacement for C's malloc or C++'s new().
.
It allows you to allocate memory basically as you normally would without
explicitly deallocating memory that is no longer useful. The collector
automatically recycles memory when it determines that it can no longer be
used.
.
This version of the collector is thread safe, has C++ support and uses the
defaults for everything else. However, it does not work as a drop-in malloc(3)
replacement.
.
This package is required to compile and link programs that use libgc1c2.
Description-md5: 6024ab577069982922a45069ab44dff3