Skip to content

Instantly share code, notes, and snippets.

@douglas
Created July 6, 2011 02:27
Show Gist options
  • Select an option

  • Save douglas/1066406 to your computer and use it in GitHub Desktop.

Select an option

Save douglas/1066406 to your computer and use it in GitHub Desktop.
Install swig on a ubuntu box
sudo apt-get install swig
@vsmallerx

Copy link
Copy Markdown

Thanks

@MadcowD

MadcowD commented Oct 11, 2016

Copy link
Copy Markdown

top kek thanks a lot

@Lyken17

Lyken17 commented Oct 18, 2016

Copy link
Copy Markdown

Thank you.

@gourav1905

Copy link
Copy Markdown

that downloads older version of swig

@MadcowD

MadcowD commented Jul 9, 2017

Copy link
Copy Markdown

.lolol

@mwalmsley

Copy link
Copy Markdown

gg

@ozkansafak

Copy link
Copy Markdown

This installs 3.0.8. It's not the newest version
The newest version is 3.0.12 as of Feb 8, 2018

@igor-egorov

Copy link
Copy Markdown

SWIG 3.0.12 can be installed using this manual

@asterite3

Copy link
Copy Markdown

that downloads older version of swig

This installs 3.0.8. It's not the newest version
The newest version is 3.0.12 as of Feb 8, 2018

Still useful though

@ChrisjanWust

Copy link
Copy Markdown

If you're at all developing for python, avoid 3.0.8.

sudo apt-get install swig should install 3.0.12 newer Ubuntu versions, but on 16.04 it install 3.0.8. So you'll have to resort to manually installing.

See https://bugs.launchpad.net/ubuntu/+source/swig/+bug/1628974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment