sudo apt-get install swig on Ubuntu 14.04
23,979
download the latest development (master) version of SWIG:
git clone https://github.com/swig/swig.git
cd swig
sudo apt-get install automake
./autogen.sh
./configure
sudo apt-get install bison flex
make
sudo make install
Hope it helps, Gepp
Related videos on Youtube
Author by
mrgloom
Updated on September 18, 2022Comments
-
mrgloom over 1 year
Im' trying to install swig on Ubuntu 14.04:
sudo apt-get install swig Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package swig
Seach gives something irrelevant:
apt-cache search swig python-sip - Python/C++ bindings generator runtime library libkml0 - Library to manipulate KML 2.2 OGC standard files libapparmor-perl - AppArmor library Perl bindings
Howewer here
So what is the proper way to install swig?
Update: Seems
sudo apt-get update
helped.-
GAD3R about 7 yearsWhat is the contents of your
sources.list
? -
steeldriver about 7 yearsYou may need to enable the
universe
repository
-
-
pir almost 4 yearsI followed this, but it doesn't seem like swig was installed. When running
swig -version
, I get-bash: /usr/bin/swig: No such file or directory
.