How to Install and Uninstall gnat Package on Debian 12 (Bookworm)
Last updated: February 24,2025
Notice
You can also install and uninstall the gnat on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "gnat" package
This tutorial shows how to install gnat on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
gnat
Copied
2. Uninstall "gnat" package
This guide covers the steps necessary to uninstall gnat on Debian 12 (Bookworm):
$
sudo apt remove
gnat
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gnat package on Debian 12 (Bookworm)
Package: gnat
Version: 12.2
Installed-Size: 14
Maintainer: Ludovic Brenta
Architecture: all
Depends: gnat-12
Suggests: ada-reference-manual-2012
Description: GNU Ada compiler
Description-md5: 427f6897ee4efebdcecc99b90129a4c7
Tag: devel::compiler, devel::lang:ada, implemented-in::ada,
implemented-in::c, interface::commandline, role::dummy, role::program,
scope::utility, suite::gnu, works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/g/gnat/gnat_12.2_all.deb
Size: 4716
MD5sum: 2e3e77a97f1945a4ccc6e73c7d194dc0
SHA256: 287d6da71367cc9b4c9edba12e9c63874fd46975d97a807fee1961f4116fdb9b
Version: 12.2
Installed-Size: 14
Maintainer: Ludovic Brenta
Architecture: all
Depends: gnat-12
Suggests: ada-reference-manual-2012
Description: GNU Ada compiler
Description-md5: 427f6897ee4efebdcecc99b90129a4c7
Tag: devel::compiler, devel::lang:ada, implemented-in::ada,
implemented-in::c, interface::commandline, role::dummy, role::program,
scope::utility, suite::gnu, works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/g/gnat/gnat_12.2_all.deb
Size: 4716
MD5sum: 2e3e77a97f1945a4ccc6e73c7d194dc0
SHA256: 287d6da71367cc9b4c9edba12e9c63874fd46975d97a807fee1961f4116fdb9b