How to Install and Uninstall gnat Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "gnat" package

Learn how to install gnat on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install gnat

2. Uninstall "gnat" package

Learn how to uninstall gnat on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the gnat package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: gnat
Priority: optional
Section: universe/devel
Installed-Size: 9
Maintainer: Ubuntu Developers
Original-Maintainer: Ludovic Brenta
Architecture: amd64
Version: 4.9ubuntu2
Depends: gnat-4.9
Recommends: ada-reference-manual-2012, gnat-gps
Filename: pool/universe/g/gnat/gnat_4.9ubuntu2_amd64.deb
Size: 2978
MD5sum: f22d3a48237f0cdf3362e3b9cb23e5e1
SHA1: 4abe471770aaf4d22b3e0f7eea1684e05bd4f80c
SHA256: 16ae2c06dac5292c149ea418041e9ac14d4920a0d8500be19f199c5d8eba774e
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
Homepage: http://gcc.gnu.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu