How to Install and Uninstall gnat-12 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 18,2024

1. Install "gnat-12" package

This is a short guide on how to install gnat-12 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install gnat-12

2. Uninstall "gnat-12" package

Here is a brief guide to show you how to uninstall gnat-12 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the gnat-12 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: gnat-12
Architecture: amd64
Version: 12.3.0-15ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-12
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 94826
Depends: gcc-12-base (= 12.3.0-15ubuntu1), gcc-12 (>= 12), libgnat-12 (>= 12.3.0-15ubuntu1), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.38), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: gnat-12-doc, ada-reference-manual-2012, gnat-12-sjlj
Conflicts: gnat-10, gnat-11, gnat-4.9, gnat-5, gnat-6, gnat-7, gnat-8, gnat-9
Filename: pool/universe/g/gcc-12/gnat-12_12.3.0-15ubuntu1_amd64.deb
Size: 19368426
MD5sum: fba0f70c4bba9ec76debcc174f248d91
SHA1: 0d9c026df55307038f9a5d80aa3149f63fceec65
SHA256: 3416b6a47ff0e9364728c91e64abe002700c452c631683c04f6636e2191e23a5
SHA512: 9f32a4e0f704885d62c22e4433834349aaa71e23f5a7f2360cf58741b220596ec4b58904cf47c108fd5bc064a1f811d13293262ceec1667f1a5897aec8660c77
Homepage: http://gcc.gnu.org/
Description: GNU Ada compiler
Description-md5: 8cebde0cd6b861927a7a457cacc8851f