How To Install libgm2-10-dev-hppa-cross on Ubuntu 20.04

In this tutorial we learn how to install libgm2-10-dev-hppa-cross on Ubuntu 20.04. libgm2-10-dev-hppa-cross is GNU Modula-2 standard library GNU Modula-2 standard library GNU Modula-2 standard library

Introduction

In this tutorial we learn how to install libgm2-10-dev-hppa-cross on Ubuntu 20.04.

What is libgm2-10-dev-hppa-cross

libgm2-10-dev-hppa-cross is:

This is the Modula-2 standard library that comes with the gm2 compiler.

Package: libgm2-10-dev-hppa-cross Architecture: all Version: 10.2.0-5ubuntu1~20.04cross1 Built-Using: gcc-10 (= 10.2.0-5ubuntu1~20.04) Priority: optional Section: universe/libdevel Source: gcc-10-cross-ports (5ubuntu2) Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 4064 Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), libgm2-15-hppa-cross (>= 10.2.0-5ubuntu1~20.04cross1) Filename: pool/universe/g/gcc-10-cross-ports/libgm2-10-dev-hppa-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 721952 MD5sum: 314832b6ccff3ba09a159733d0d0d4c6 SHA1: 9f90a5d707c8d5e5389035702eb7214b9c2f446c SHA256: fc990b835477de3b6cc746e51b0691678b6146dd50f492ca713b62d6d1a2bebb SHA512: e6a2c80eb269a4d2005561dbfaf2415d0e5f403837a5276ac46f6c5a5b7c83344d64eb5a4f772ded7b7c08e87cf9a378d8a3da5378b76c46cd975adb7d0cf726 Homepage: http://gcc.gnu.org/ Description-en: GNU Modula-2 standard library This is the Modula-2 standard library that comes with the gm2 compiler.

Package: libgm2-10-dev-hppa-cross Architecture: all Version: 10-20200411-0ubuntu1cross1 Built-Using: gcc-10 (= 10-20200411-0ubuntu1) Priority: optional Section: universe/libdevel Source: gcc-10-cross-ports (5ubuntu1) Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3977 Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), libgm2-15-hppa-cross (>= 10-20200411-0ubuntu1cross1) Filename: pool/universe/g/gcc-10-cross-ports/libgm2-10-dev-hppa-cross_10-20200411-0ubuntu1cross1_all.deb Size: 713972 MD5sum: a2d49a8f9366fd125cb4612fa18dc457 SHA1: 31c041cfe7cf42659c7b0c31faf8eaf812784025 SHA256: 46460115d06086acf3c5662ef7c4125ea02db39275300d2423fdbed267b66630 Homepage: http://gcc.gnu.org/ Description-en: GNU Modula-2 standard library This is the Modula-2 standard library that comes with the gm2 compiler.

There are three methods to install libgm2-10-dev-hppa-cross on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgm2-10-dev-hppa-cross Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libgm2-10-dev-hppa-cross using apt-get by running the following command:

sudo apt-get -y install libgm2-10-dev-hppa-cross

Install libgm2-10-dev-hppa-cross Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgm2-10-dev-hppa-cross using apt by running the following command:

sudo apt -y install libgm2-10-dev-hppa-cross

Install libgm2-10-dev-hppa-cross Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libgm2-10-dev-hppa-cross using aptitude by running the following command:

sudo aptitude -y install libgm2-10-dev-hppa-cross

How To Uninstall libgm2-10-dev-hppa-cross on Ubuntu 20.04

To uninstall only the libgm2-10-dev-hppa-cross package we can use the following command:

sudo apt-get remove libgm2-10-dev-hppa-cross

Uninstall libgm2-10-dev-hppa-cross And Its Dependencies

To uninstall libgm2-10-dev-hppa-cross and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libgm2-10-dev-hppa-cross

Remove libgm2-10-dev-hppa-cross Configurations and Data

To remove libgm2-10-dev-hppa-cross configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libgm2-10-dev-hppa-cross

Remove libgm2-10-dev-hppa-cross configuration, data, and all of its dependencies

We can use the following command to remove libgm2-10-dev-hppa-cross configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgm2-10-dev-hppa-cross

References

Summary

In this tutorial we learn how to install libgm2-10-dev-hppa-cross package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.