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

Last updated: May 20,2024

1. Install "gnat" package

In this section, we are going to explain the necessary steps to install gnat on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gnat

2. Uninstall "gnat" package

This guide let you learn how to uninstall gnat on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gnat
Architecture: amd64
Version: 10ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ludovic Brenta
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10
Depends: gcc, gnat-10
Suggests: ada-reference-manual-2012
Filename: pool/universe/g/gnat/gnat_10ubuntu1_amd64.deb
Size: 2672
MD5sum: 48cccc3ad570e29d60c31fe59acceaec
SHA1: a02fa5f590b31f0591f84616a071aa17a450332c
SHA256: d17e20d7f291a1f499eed915fa728fc14b0da1880b2e265e537682705af34727
SHA512: d1c910705be1b8c8065c29034117c5a7ca918af5af7068423786ee5f28000e66a0aea418d18bf6297340a0cee09226d1e3b4917fd7184b5736794a15b49114fb
Description-en: GNU Ada compiler
GNAT is a full-featured Ada 2012 compiler. A quote from
http://www.adaic.org says: "Easily reused and maintained, readable
and user friendly, Ada code facilitates such massive software
projects as the Space Station and the Paris Metro. It has proven to
be extraordinarily robust in decades' worth of daily field tests
under the most rigorous conditions in which millions of lives have
been at stake." Ada is the language for real-world, mission-critical
programming.
.
At the same time, Ada's radical type safety helps novice programmers
avoid many common mistakes and deliver their software on time (see
http://www.adaic.org/atwork/trains.html).
.
This empty package depends on the default version of the Ada compiler
for Debian, which is part of the GNU Compiler Collection. Its
enforces the same version for all Ada compilations, as described in
the Debian Ada Policy.
Description-md5: 427f6897ee4efebdcecc99b90129a4c7