How to Install and Uninstall gm2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "gm2" package

In this section, we are going to explain the necessary steps to install gm2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install gm2

2. Uninstall "gm2" package

Please follow the guidelines below to uninstall gm2 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove gm2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the gm2 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: gm2
Architecture: amd64
Version: 4:10.0-1ubuntu2
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.185.1ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: cpp (>= 4:9.3.0-1ubuntu2), gcc (>= 4:9.3.0-1ubuntu2), gm2-10 (>= 10-20200307-0ubuntu1~)
Filename: pool/universe/g/gcc-defaults/gm2_10.0-1ubuntu2_amd64.deb
Size: 1092
MD5sum: aaf2772260115be41e75f1a73e7b59e5
SHA1: f29f390aa489f39334248e5589c21f8d149f93d6
SHA256: 8a3677dde06c138e04c2719cb765ed28cdbe53eeb5da6020dc090409f6cc91dd
Description: GNU Modula-2 compiler, based on the GCC backend
Description-md5: 94f753ea379d66bad841234959bfd853