(Last Updated On: September 4, 2018)

Gns3 1.3.9 was released which fixes 3 major problems found in version 1.3.8:

  1. Fixes launch crash on Windows 32-bit.
  2. Catch exception when trying to launch Wireshark.
  3. Backport: fixes migration of cloud interfaces.
  4. Backport: removes code that deletes IOS router instance files.

GNS3 team is working smart and harder day by day to make Gns3 stable. Gns3 is a Graphical Network Simulator that allows emulation of complex networks.It is very crucial for people studying for certifications like CCNA up to CCIE level.With every new release there is something new added and improvements.

I have written articles previously on How to install Gns3 on Kali Linux and Debian. Today i will write an article on how to install Gns3 1.3.9 as of this writing on Kali Linux 2.0, Debian 8 and Latest ubuntu.

Updated article for Ubuntu:

How to Install GNS3 on Ubuntu 18.04 / Ubuntu 16.04

If you Love what we do, support us by downloading this tutorial as pdf from the link below:

This article will work on other new release of Gns3 and i will post an update when new release come out. Gns3 on Linux come with 7 components that we’ll build one by one.

Dynamips 0.2.14
gns3 gui 1.3.9
gns3 server 1.3.9
 initparser
iouyap 0.95
ubridge 0.9.0
vpcs 0.6.1

The procedure will be same for the three different distributions but for Kali Linux 2.0 you’ll have to put correct repo list.On your Kali sana 2.0,ensure you put this repositories to your sources.list
NOTE: This is for Kali Linux 2.0 only. Paste the following on your terminal.

cat << EOF > /etc/apt/sources.list
# Regular Repositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# Source repositories
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
EOF

Now do system update and upgrade, same for Kali, ubuntu and Debian

sudo apt-get update && apt-get upgrade

Let’s add multiarch for i386 support as IOU needs them

sudo dpkg --add-architecture i386
sudo apt-get  update

Install GNS3 dependencies

sudo apt-get install gcc 
sudo apt-get install python3-setuptools
sudo apt-get install python3-dev
sudo apt-get install python3-netifaces
sudo apt-get install python3-pyqt4
sudo apt-get install python3-ws4py
sudo apt-get install python3-tornado
sudo apt-get install python3-zmq

Install Dynamips dependencies

sudo apt-get install cmake
sudo apt-get install libelf-dev 
sudo apt-get install uuid-dev
sudo apt-get install libpcap-dev

Download Gns3 source files from Download Link
Use terminal to change to directory containing downloaded file, then extract it,

unzip GNS3-1.3.9.source.zip -d GNS3-1.3.9-source 
cd GNS3-1.3.9-source

Install Gns3 server

unzip gns3-server-1.3.9.zip
cd gns3-server-1.3.9
sudo python3 setup.py install 
cd ..

Installing Gns3 gui

unzip gns3-gui-1.3.9.zip
cd gns3-gui-1.3.9
sudo python3 setup.py install
cd ..

Installing Dynamips Hypervisor

unzip dynamips-0.2.14
cd dynamips-0.2.14
mkdir build
cd build
cmake ..
make
sudo make install
sudo setcap cap_net_admin,cap_net_raw=ep /usr/local/bin/dynamips 
cd ../..

Install GNS3 IOUYAP

unzip iouyap-0.95.zip
cd iouyap-95
sudo make install
sudo cp iouyap /usr/local/bin
cd ..

Install IOU prerequisites

sudo apt-get install libssl1.0.0:i386
sudo ln -s /lib/i386-linux-gnu/libcrypto.so.1.0.0  /lib/libcrypto.so.4
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install git
git clone http://github.com/ndevilla/iniparser.git
cd iniparser
make
sudo cp libiniparser.* /usr/lib/
sudo cp src/iniparser.h /usr/local/include
sudo cp src/dictionary.h /usr/local/include

Installing Vpc virtual pc for gns3.

unzip vpcs-0.6.1.zip
cd vpcs-0.6.1
cd src
./mk.sh
sudo cp vpcs /usr/local/bin/
cd ../..

That’s all. To start Gns3 just type gns3 command on terminal

gns3

Kali 2.0 comes with Gnome 3.14 and dash to dock, if you want to create launcher for gns3 to pin to dash to dock do the following
1) Install gnome panel

sudo apt-get install --no-install-recommends gnome-panel

2) Download gns3 icon image

wget http://www.gns3.com/images/gns3_logo.png

3) Then run this command to create a launcher

sudo gnome-desktop-item-edit /usr/share/applications --create-new

4) For name put Gns3
5) On command option click on browse
6) Browse to /usr/local/bin/gns3 and select it by clicking on open
7) On comment type anything you want
8) For icon click on icon on the top left corner and select downloaded icon image
8) Save it by clicking okay button
Your Gns3 launcher will be placed in Applications>Usual Applications>Other>GNS3  

If you love what we do, support us by downloading this article as pdf:
See picture below for help

You can run it then on Dash to dock right click and select Add to Favorites
Other Articles on:
How to install Linux Kernel Headers on Kali Linux 2.0 (Kali Sana)
upgrade to Kali Linux 2.0 (Kali Sana) from 1.x version of Kali Linux.
Top Three best Torrent Clients for Kali Linux, Ubuntu , Debian, CentOS and Fedora 
Search Tags:
How to install gns3 latest on Kali Linux 2.0
Gns3 on Kali Linux, Debian 8 and Ubuntu latest
Easiest best way to install gns3 on Debian and Kali Linux
Gns3 latest on Kali sana and Debian ubuntu
Gns3 1.3.9 on Ubuntu
Gns3 1.3.9 installation on Kali Linux 2.0, 1.x and debian
Upgrading Gns3 to latest version.
If you encounter any error feel free to drop a comment.