How to Install and Uninstall gnat-9 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "gnat-9" package

This is a short guide on how to install gnat-9 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gnat-9

2. Uninstall "gnat-9" package

This guide covers the steps necessary to uninstall gnat-9 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the gnat-9 package on Ubuntu 21.10 (Impish Indri)

Package: gnat-9
Architecture: amd64
Version: 9.4.0-3ubuntu1
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: 73831
Depends: gcc-9-base (= 9.4.0-3ubuntu1), gcc-9 (>= 8), libgnat-9 (>= 9.4.0-3ubuntu1), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.34), libgmp10 (>= 2:5.0.1~), libgnatvsn9 (>= 9.4.0-3ubuntu1), 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.4.0-3ubuntu1_amd64.deb
Size: 14960672
MD5sum: f9570b355175f7bf1a9df6bb93ff5e0b
SHA1: b3d43bd6952c2e32a3fc02eb13b4a12123a43aa4
SHA256: df86bf81f1d35edacad1e7ca3fad1f409bb54e23089bc0c9a9fb4d9d065e25e1
SHA512: 258d8eaf64fd492a9c9ce93fffa69900840a7310e7786eceefe7635c86450773d3e325d4de24b00e4c7772d1a4b2a664a319a894e02f85234669f234f0b88afb
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