How to Install and Uninstall libgc-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 07,2024

1. Install "libgc-dev" package

In this section, we are going to explain the necessary steps to install libgc-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libgc-dev

2. Uninstall "libgc-dev" package

In this section, we are going to explain the necessary steps to uninstall libgc-dev on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the libgc-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: libgc-dev
Architecture: amd64
Version: 1:8.0.4-2
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-2), libc-dev
Filename: pool/main/libg/libgc/libgc-dev_8.0.4-2_amd64.deb
Size: 248520
MD5sum: 5e3ab85b0e0a8924bd03dac3a4aca36e
SHA1: a05631dc94ead1176df7fe941c062271717aac96
SHA256: 0d6498f051c37e508ce512be5dee4350ccd1f80426ad3f935f505d6b7da81325
SHA512: 359e17a55779d0ecb407eab30625aec9ff7e8a7a005eb1525aae35e5da7bad702e84640ae1cdb4b10faf56b4cc08706ec12a0e6c9ad100af42e0cc4869822564
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