How to Install and Uninstall python-gmpy2 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 10,2024

1. Install "python-gmpy2" package

In this section, we are going to explain the necessary steps to install python-gmpy2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-gmpy2

2. Uninstall "python-gmpy2" package

Here is a brief guide to show you how to uninstall python-gmpy2 on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python-gmpy2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-gmpy2 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-gmpy2
Architecture: amd64
Version: 2.0.8-2build3
Multi-Arch: same
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Martin Kelly
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 505
Provides: python2.7-gmpy2
Depends: python-gmpy2-common, python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7~), libc6 (>= 2.4), libgmp10, libmpc3, libmpfr6 (>= 3.1.3)
Filename: pool/universe/p/python-gmpy2/python-gmpy2_2.0.8-2build3_amd64.deb
Size: 126228
MD5sum: cd1467688794d91fe96b6b8ac64a41f2
SHA1: 176eb8478546e837b7343a56061636e31758a858
SHA256: 5b58eeff83f7cf35c57a478e0cc5af570d552de03dc35406faf3d3f1dfca42f6
Homepage: https://pypi.python.org/pypi/gmpy2
Description: interfaces GMP to Python 2 for fast, unbound-precision computations
Description-md5: fc135ebd0ca69552b998a8a704ddc95c