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

Last updated: June 29,2024

1. Install "gnat-5" package

Please follow the step by step instructions below to install gnat-5 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install gnat-5

2. Uninstall "gnat-5" package

This tutorial shows how to uninstall gnat-5 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: gnat-5
Architecture: amd64
Version: 5.4.0-6ubuntu1~16.04.12
Priority: optional
Section: universe/devel
Source: gcc-5
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 59453
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.12), gcc-5 (>= 5.2.1-23), libgnat-5 (>= 5.4.0-6ubuntu1~16.04.12), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libgnatprj5 (>= 5.4.0-6ubuntu1~16.04.12), libgnatvsn5 (>= 5.4.0-6ubuntu1~16.04.12), libisl15 (>= 0.15), libmpc3, libmpfr4 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gnat-5-doc, ada-reference-manual-2012, gnat-5-sjlj
Conflicts: gnat (<< 4.1), gnat-3.1, gnat-3.2, gnat-3.3, gnat-3.4, gnat-3.5, gnat-4.0, gnat-4.1, gnat-4.2, gnat-4.3, gnat-4.4, gnat-4.6, gnat-4.7, gnat-4.8, gnat-4.9
Breaks: dh-ada-library (<< 6.0), gnat (<< 4.6.1), gnat-4.6-base (= 4.6.4-2), gnat-4.9-base (= 4.9-20140330-1)
Replaces: dh-ada-library (<< 6.0), gnat (<< 4.6.1), gnat-4.6-base (= 4.6.4-2), gnat-4.9-base (= 4.9-20140330-1)
Filename: pool/universe/g/gcc-5/gnat-5_5.4.0-6ubuntu1~16.04.12_amd64.deb
Size: 13541512
MD5sum: 2e20c7fd869cb58d535b0ba1181ddcf3
SHA1: dcc91d360029a2e3a5124d4f5d5f4a5a907a79df
SHA256: ea47b4d5454fc889cdac21a089d46406dfa1873ffbf56249276455266b3f5f88
SHA512: 7eaf87f13159cf2861903a655e9936112b2fdc2eecac0e531d8987db1f787549af30b01760e794cac14e661c2bb3afc666d3518ccc01e8d7503f82ba4c1502ef
Homepage: http://gcc.gnu.org/
Description-en: GNU Ada compiler
GNAT is a compiler for the Ada programming language. It produces optimized
code on platforms supported by the GNU Compiler Collection (GCC).
.
This package provides the compiler, tools and runtime library that handles
exceptions using the default zero-cost mechanism.
Description-md5: 8cebde0cd6b861927a7a457cacc8851f

Package: gnat-5
Priority: optional
Section: universe/devel
Installed-Size: 59449
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Source: gcc-5
Version: 5.3.1-14ubuntu2
Replaces: dh-ada-library (<< 6.0), gnat (<< 4.6.1), gnat-4.6-base (= 4.6.4-2), gnat-4.9-base (= 4.9-20140330-1)
Depends: gcc-5-base (= 5.3.1-14ubuntu2), gcc-5 (>= 5.2.1-23), libgnat-5 (>= 5.3.1-14ubuntu2), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libgnatprj5 (>= 5.3.1-14ubuntu2), libgnatvsn5 (>= 5.3.1-14ubuntu2), libisl15 (>= 0.15), libmpc3, libmpfr4 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gnat-5-doc, ada-reference-manual-2012, gnat-5-sjlj
Conflicts: gnat (<< 4.1), gnat-3.1, gnat-3.2, gnat-3.3, gnat-3.4, gnat-3.5, gnat-4.0, gnat-4.1, gnat-4.2, gnat-4.3, gnat-4.4, gnat-4.6, gnat-4.7, gnat-4.8, gnat-4.9
Breaks: dh-ada-library (<< 6.0), gnat (<< 4.6.1), gnat-4.6-base (= 4.6.4-2), gnat-4.9-base (= 4.9-20140330-1)
Filename: pool/universe/g/gcc-5/gnat-5_5.3.1-14ubuntu2_amd64.deb
Size: 13580638
MD5sum: 782531903caa7e061a8bd9b025b32523
SHA1: 8fa157b2be9594e3670bed2324c81eda5397aa6e
SHA256: 502550bdd2a1bb363f68a9626b570b4bfa9ad15a5ff8c2a89718608055fbe9cd
Description-en: GNU Ada compiler
GNAT is a compiler for the Ada programming language. It produces optimized
code on platforms supported by the GNU Compiler Collection (GCC).
.
This package provides the compiler, tools and runtime library that handles
exceptions using the default zero-cost mechanism.
Description-md5: 8cebde0cd6b861927a7a457cacc8851f
Homepage: http://gcc.gnu.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions