How to Install and Uninstall libgmp-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: February 03,2025

1. Install "libgmp-dev" package

This guide covers the steps necessary to install libgmp-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libgmp-dev

2. Uninstall "libgmp-dev" package

In this section, we are going to explain the necessary steps to uninstall libgmp-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libgmp-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libgmp-dev
Architecture: amd64
Version: 2:6.1.2+dfsg-2
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: 1576
Provides: libgmp10-dev
Depends: libgmp10 (= 2:6.1.2+dfsg-2), libgmpxx4ldbl (= 2:6.1.2+dfsg-2)
Suggests: gmp-doc, libgmp10-doc, libmpfr-dev
Conflicts: libgmp10-dev
Replaces: libgmp10-dev, libgmp3-dev
Filename: pool/main/g/gmp/libgmp-dev_6.1.2+dfsg-2_amd64.deb
Size: 316324
MD5sum: 6f5aa3f4584f40110797dd55778f8ad5
SHA1: dbd2480fefb914a8888c3fca8e299f904c4949eb
SHA256: 77066044de14fbcc4f2326348e24dda33e1106295e9c44748bb457ecd132b823
Homepage: http://gmplib.org/
Description: Multiprecision arithmetic library developers tools
Description-md5: db56254d94fec9ce85e93ebf60b032a9
Supported: 5y