How to Install and Uninstall gnat-7 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 09,2024

1. Install "gnat-7" package

This guide covers the steps necessary to install gnat-7 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gnat-7

2. Uninstall "gnat-7" package

Please follow the steps below to uninstall gnat-7 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gnat-7 $ sudo apt autoclean && sudo apt autoremove

3. Information about the gnat-7 package on Ubuntu 21.04 (Hirsute Hippo)

Package: gnat-7
Architecture: amd64
Version: 7.5.0-6ubuntu4
Priority: optional
Section: universe/devel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 76534
Depends: gcc-7-base (= 7.5.0-6ubuntu4), gcc-7 (>= 7), libgnat-7 (>= 7.5.0-6ubuntu4), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.28), libgmp10 (>= 2:5.0.1~), libgnatvsn7 (>= 7.5.0-6ubuntu4), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gnat-7-doc, ada-reference-manual-2012, gnat-7-sjlj
Conflicts: gnat (<< 4.1), gnat-3.1, gnat-3.2, gnat-3.3, gnat-3.4, gnat-3.5, gnat-4.0, gnat-4.1, gnat-4.2, gnat-4.3, gnat-4.4, gnat-4.6, gnat-4.7, gnat-4.8, gnat-4.9, gnat-5, gnat-6
Breaks: dh-ada-library (<< 6.0), gnat (<< 4.6.1), gnat-4.6-base (= 4.6.4-2), gnat-4.9-base (= 4.9-20140330-1)
Replaces: dh-ada-library (<< 6.0), gnat (<< 4.6.1), gnat-4.6-base (= 4.6.4-2), gnat-4.9-base (= 4.9-20140330-1)
Filename: pool/universe/g/gcc-7/gnat-7_7.5.0-6ubuntu4_amd64.deb
Size: 15708164
MD5sum: 50370b573fb829f86d3e00b668b73980
SHA1: c8e3abc2ad47120260cc5a839fdc85083d0c8275
SHA256: a742b1e2dd4bbdced4d49f03753c7a7c607f9e700cc05fdabc2a048688bf959d
SHA512: e53776ee9c5ee28a5182bd2fd8cb064e8a3f6351796bb0a8c66e59400c85f6a1791a2c285278481aff6edcc28847e4ddf22a22ebc072ff022c83b71afb320e86
Homepage: http://gcc.gnu.org/
Description-en: GNU Ada compiler
GNAT is a compiler for the Ada programming language. It produces optimized
code on platforms supported by the GNU Compiler Collection (GCC).
.
This package provides the compiler, tools and runtime library that handles
exceptions using the default zero-cost mechanism.
Description-md5: 8cebde0cd6b861927a7a457cacc8851f