How to Install and Uninstall gnat-12 Package on Debian 12 (Bookworm)

Last updated: November 25,2024

1. Install "gnat-12" package

This guide covers the steps necessary to install gnat-12 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gnat-12

2. Uninstall "gnat-12" package

Please follow the guidelines below to uninstall gnat-12 on Debian 12 (Bookworm):

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

3. Information about the gnat-12 package on Debian 12 (Bookworm)

Package: gnat-12
Source: gcc-12
Version: 12.2.0-14
Installed-Size: 94098
Maintainer: Debian GCC Maintainers
Architecture: amd64
Depends: gcc-12-base (= 12.2.0-14), gcc-12 (>= 12), libgnat-12 (>= 12.2.0-14), libc6-dev (>= 2.23-1~), libc6 (>= 2.36), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.2), 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
Description: GNU Ada compiler
Description-md5: 8cebde0cd6b861927a7a457cacc8851f
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-12/gnat-12_12.2.0-14_amd64.deb
Size: 18156728
MD5sum: ddea787e42aa5e29020a72fc6072cd6c
SHA256: bb309b7d70896d121927a47fc3acadb968a034384b6d9c098a14a114869edee9