(Last Updated On: September 4, 2018)

GNS3 1.3.0 was released a few days ago by the GNS3 team, this version is a major rewrite especially the GNS3  server. A lot of issues found in GNS3 1.x  were fixed and will serve as a great foundation to explore this new features and show thumbs up for GNS3 team. These guys are really doing a good work and that’s why I love open source software to my heart. I installed this latest version on my Ubuntu box 64-bit version and Kali Linux 64-bit as well.

Previously we talked about GNS3 1.2.3 installation. If you are running the previous version of gns3, you’ll just need to upgrade gns3-gui-1.3.0 and gns3-server-1.3.0. Jump to server and gui installation for that.

Updated article for Ubuntu:

How to Install GNS3 on Ubuntu 18.04 / Ubuntu 16.04

Remember that you’ll need IOS images and IOU images to use it in your GNS3 lab environment.
Some of the new features and fixes available on GNS3 1.3.0 are:

  • Save as now works fine
  • GUI preferences are stored in JSON format
  • Progress dialog displayed by all communication with the servers
  • Automated crash reports
  • Revision number in the project file
  • Automated Crash reports
  • Automatically export IOS configurations when closed
  • Consoles open in alphanumeric order

Here are the steps to follow, the first thing to do is update your system, do upgrade and even distribution upgrade.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Now we fix GNS3 dependencies needed for GNS3 1.3.0 installation. Run the following commands to do that.

 sudo apt‐get install python3‐zmq
 sudo apt‐get install python3‐tornado
 sudo apt‐get install python3‐netifaces
 sudo apt‐get install python3‐setuptools
 sudo apt‐get install python3‐pyqt4
 sudo apt‐get install python3‐ws4py

Dynamips hypervisor also requires the following dependencies which must be installed as well prior to dynamic building and installation.

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

The next step is to  Download GNS3 1.3.0-source.zip, make sure you select LINUX/OTHER Version 1.3.0
Unzip the downloaded zipped file. You must change the directory to the location of newly downloaded gns3.

 unzip GNS3-1.3.0.source.zip

It contains the following files which we’re going to install one by one.

  •  dynamips-0.2.14.zip
  •  gns3-server-1.3.0.zip,
  •  gns3-gui-1.3.0.zip,
  •  iouyap-0.95.zip,
  • vpcs-0.6.zip

Let’s start with GNS3 server installation.

cd GNS3-1.3.0-source
unzip gns3-server-1.3.0.zip
cdgns3-server-1.3.0
sudopython3 setup.py install
cd ..

Install GNS3 GUI

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

Let’s now install dynamics. We’ll build it first then make install.

 $ 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 ../..

Before installing IOU, install the following dependency utilities.

$ 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

Install GNS3 IOUYAP app which provide network support for IOU

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

Install VPCS for virtual PC connections to the Routers and switches.

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

You have successfully installed GNS3 1.3.0, it’s time to run it and feel like “woooow!!, I made it!”. Type the command:

gns3

It’s easy to create a launcher for gns3 if your desktop environment doesn’t fix it for you. Just download gns3 icon and create a launcher with the command /usr/local/bin/gns3
If you want to connect your Virtual VMs to Gns3, check out the tutorial on  installation of  VirtualBox on Ubuntu and Kali Linux and Debian or  VMware Workstation | VMware Player for Virtualization on GNS3 as well.

Another Virtualization Platform available for Linux is KVM, though i don’t know if it works with GNS3.

Search Tags
How to install GNS3 on Ubuntu
Simple installation of GNS3 latest on Ubuntu  14.04 and 14.10 LTS
Easiest way to install GNS3 on Ubuntu
How to get GNS3 running on Ubuntu without much hassle.