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

Last updated: May 16,2024

1. Install "libgmp-dev" package

Please follow the step by step instructions below to install libgmp-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libgmp-dev

2. Uninstall "libgmp-dev" package

Here is a brief guide to show you how to uninstall libgmp-dev on Ubuntu 21.10 (Impish Indri):

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

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

Package: libgmp-dev
Architecture: amd64
Version: 2:6.2.1+dfsg-1ubuntu2
Multi-Arch: same
Priority: optional
Section: libdevel
Source: gmp
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1621
Provides: libgmp10-dev
Depends: libgmp10 (= 2:6.2.1+dfsg-1ubuntu2), libgmpxx4ldbl (= 2:6.2.1+dfsg-1ubuntu2)
Suggests: gmp-doc, libgmp10-doc, libmpfr-dev
Conflicts: libgmp10-dev
Replaces: libgmp10-dev, libgmp3-dev
Filename: pool/main/g/gmp/libgmp-dev_6.2.1+dfsg-1ubuntu2_amd64.deb
Size: 316708
MD5sum: 01cecb1d9ffe970714593c498c9e526b
SHA1: 3b14c7ded6ada3d8e42b9b1e2e4e089ceffde1a5
SHA256: 2dd66c772c78d4bd611228076fc7c276c50c96172929f8b7b4c664462c405d21
SHA512: 1eb4bfc0dd5d2ae03eb588ccc4f0a228aff5a3f2adc71596bc4b0ad149714db0891df7e9b6dadd1c1c81aae4f305902fd9a2bd5cdee19db64a18476f5478d2fd
Homepage: http://gmplib.org/
Description-en: Multiprecision arithmetic library developers tools
This development package provides the header files and the symbolic
links to allow compilation and linking of programs that use the libraries
provided in the libgmp10 package.
.
Both C and C++ bindings are present in this package. Package
libstdc++-dev is required to use the C++ bindings.
.
The MPFR library (multiple-precision floating-point) used to be
included, but has since been moved to package libmpfr-dev.
Description-md5: db56254d94fec9ce85e93ebf60b032a9