How to Install and Uninstall swig4.0 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 16,2024

1. Install "swig4.0" package

This tutorial shows how to install swig4.0 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install swig4.0

2. Uninstall "swig4.0" package

This tutorial shows how to uninstall swig4.0 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove swig4.0 $ sudo apt autoclean && sudo apt autoremove

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

Package: swig4.0
Architecture: amd64
Version: 4.0.1-5build1
Multi-Arch: foreign
Priority: optional
Section: universe/interpreters
Source: swig
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Torsten Landschoff
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5256
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libpcre3, libstdc++6 (>= 5.2)
Suggests: swig4.0-examples, swig4.0-doc
Filename: pool/universe/s/swig/swig4.0_4.0.1-5build1_amd64.deb
Size: 1080708
MD5sum: 1ebe5f44960eb1f63c52774295c6286d
SHA1: faeb49c6d7ed303bd093155dd5d56b21de37733f
SHA256: 10f6b7de61509437d20a47268f5f3cc3089c3c17aeee08274af731eddb49049e
Homepage: http://www.swig.org/
Description: Generate scripting interfaces to C/C++ code
Description-md5: 46580f6ceba7f7101d62735bbdf11222