$ tar xzf $HOME/Downloads/swig-3.0.12.tar.gz $ cd swig-3.0.12 $ ./configure $ make $ sudo make install