How to Install and Uninstall swig Package on Debian 11 (Bullseye)

Last updated: May 03,2024

1. Install "swig" package

This is a short guide on how to install swig on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install swig

2. Uninstall "swig" package

Please follow the instructions below to uninstall swig on Debian 11 (Bullseye):

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

3. Information about the swig package on Debian 11 (Bullseye)

Package: swig
Version: 4.0.2-1
Installed-Size: 335
Maintainer: Torsten Landschoff
Architecture: all
Replaces: swig2.0
Depends: swig4.0 (>= 4.0.2-1)
Suggests: swig-doc, swig-examples
Conflicts: swig2.0
Description: Generate scripting interfaces to C/C++ code
Description-md5: d8cf0abe31c2699b038972d76f98e6da
Multi-Arch: foreign
Homepage: http://www.swig.org/
Tag: devel::compiler, devel::lang:c, devel::lang:c++, devel::library,
implemented-in::c, interface::commandline, role::devel-lib,
role::program, scope::utility, works-with::software:source
Section: interpreters
Priority: optional
Filename: pool/main/s/swig/swig_4.0.2-1_all.deb
Size: 330284
MD5sum: 4b2f7752c28720d8f4e8730c6f3ac238
SHA256: b5e218b470d821345cfcd6aac70f37fc08c99908b1b84763c97a698a4e0d5423