swig
1.1、swig简介
short for:Simplified Wrapper and Interface Generator
是什么 ?:a compiler that integrates C and C++ with languages including Perl, Python, Tcl, Ruby, PHP, Java, C#, D, Go, Lua, Octave, R, Scheme, and Ocaml
开发语言:C++
官方主页:http://www.swig.org
源码仓库:https://github.com/swig/swig
1.2、通过包管理器安装swig
操作系统包管理器安装命令
Windowsscoopscoop install swig
WindowsChocolateychoco install -y swig
macOSHomeBrewbrew install swig
GNU/LinuxLinuxBrewbrew install swig
aptsudo apt-get install -y swig
CentOSyumsudo yum install -y swig
dnfsudo dnf install -y swig
openSUSEzyppersudo zypper install -y swig
Alpine Linuxapksudo apk add swig

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm swig
Gentoo LinuxPortagesudo emerge swig
1.3、通过编译源码安装swig
1.4、swig中包含的命令