- I was trying to install swig in ubuntu 16.04.
apt-cache show swigshowing the following
Package: swig Priority: optional Section: universe/interpreters Installed-Size: 307 Maintainer: Ubuntu Developers <firstname.lastname@example.org> Original-Maintainer: Torsten Landschoff <email@example.com> Architecture: i386 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_i386.deb Origin: Ubuntu
I need to install
Downloaded the package from official website as
Followed these instructions
Installation was successful.
Again checked the version,
sudo apt-cache show swig
The version not updated to
Any help would be appreciated !
EDIT 1 : I am trying to build one library using
cmake and it requires
swig 3.0.12. But since cmake always detects from
apt-cache it is showing no valid version warning even if I had installed
3.0.11. This is the case for
So what I am trying to ask is , how to point cmake to detect newer package version ?