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

Last updated: November 26,2024

1. Install "gnat-9" package

Please follow the steps below to install gnat-9 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gnat-9

2. Uninstall "gnat-9" package

This is a short guide on how to uninstall gnat-9 on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gnat-9
Architecture: amd64
Version: 9.3.0-23ubuntu2
Priority: optional
Section: universe/devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 73872
Depends: gcc-9-base (= 9.3.0-23ubuntu2), gcc-9 (>= 8), libgnat-9 (>= 9.3.0-23ubuntu2), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.33), libgmp10 (>= 2:5.0.1~), libgnatvsn9 (>= 9.3.0-23ubuntu2), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gnat-9-doc, ada-reference-manual-2012, gnat-9-sjlj
Conflicts: gnat-4.9, gnat-5, gnat-6, gnat-7, gnat-8
Breaks: gnat-4.9-base (= 4.9-20140330-1)
Replaces: gnat-4.9-base (= 4.9-20140330-1)
Filename: pool/universe/g/gcc-9/gnat-9_9.3.0-23ubuntu2_amd64.deb
Size: 13723800
MD5sum: 2e18a2c68c7ad1e70efa9a080ca0ebc7
SHA1: 91629ad8b7ee25be80c025060005d6eed530d5b2
SHA256: 9e7542af162aa929d18fcd0ee222de3c59ae89d268a5c2f1ac38bf7184fef09c
SHA512: 2d246695989a8942e04eab91012bcc31d976a5bf647b2fa24337b9370bd7edae42db4d5f8175c95b3784b1df4c35105bf77a277b3b74dbb758afc4ffe662f757
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