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

Last updated: May 16,2024

1. Install "swig" package

This is a short guide on how to install swig on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install swig

2. Uninstall "swig" package

This guide covers the steps necessary to uninstall swig on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove swig $ sudo apt autoclean && sudo apt autoremove

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

Package: swig
Priority: optional
Section: universe/interpreters
Installed-Size: 307
Maintainer: Ubuntu Developers
Original-Maintainer: Torsten Landschoff
Architecture: amd64
Version: 3.0.8-0ubuntu3
Replaces: swig2.0
Depends: swig3.0 (>= 3.0.8-0ubuntu3)
Suggests: swig-doc, swig-examples
Conflicts: swig2.0
Filename: pool/universe/s/swig/swig_3.0.8-0ubuntu3_amd64.deb
Size: 6278
MD5sum: b00f6dc1897223a11efb87e3f1fac4cc
SHA1: 349b891d9f6d2acba19a0a3bd7460df4f4122bd6
SHA256: 4da8bc57308f0d42c513d2829d28a5aa0babf3c83106b2deb6d02d6913aa8977
Description-en: Generate scripting interfaces to C/C++ code
SWIG is a compiler that makes it easy to integrate C and C++ code
with other languages including Perl, PHP, Tcl, Ruby, Python, Java,
Guile, Mzscheme, Chicken, OCaml, Pike, and C#.
.
Swig takes a set of ANSI C/C++ declarations and generates an
interface for them to your favorite scripting language.
.
This is a dependency package providing the stable version of SWIG.
Description-md5: a28fcf988d36aabc4bc2004da9763e6f
Multi-Arch: foreign
Homepage: http://www.swig.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu