How to Install GNS3 on Ubuntu 16.04

To Install gns3 on Ubuntu 16.04

GNS3 is a graphical network simulator to design complex network.This is used to configure devices ranging from simple workstations to powerful Cisco routers. It is based on Dynamips, Pemu/Qemu and Dynagen. Installation of GNS3 on Ubuntu 16.04 is explained.




  •     Design of high quality and complex network topologies
  •     Emulation of many Cisco router platforms and PIX firewalls
  •     Simulation of simple Ethernet, ATM and Frame Relay switches
  •     Connection of the simulated network to the real world
  •      Packet capture using Wireshark

To Install gns3

Before installing, add gns3 repo file by using following command.

root@linuxhelp:~# add-apt-repository ppa:gns3/ppa
 PPA for GNS3 and Supporting Packages. Please see for more details
 More info:
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpxpinmde8/secring.gpg' created
gpg: keyring `/tmp/tmpxpinmde8/pubring.gpg' created
gpg: requesting key A2E3EF7B from hkp server
gpg: /tmp/tmpxpinmde8/trustdb.gpg: trustdb created
gpg: key A2E3EF7B: public key "Launchpad PPA for GNS3" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

Update the repo by using the following command.

root@linuxhelp:~# apt-get update
Hit:1 xenial InRelease
Get:2 xenial-updates InRelease [94.5 kB]
Hit:3 xenial-backports InRelease
Hit:4 xenial InRelease                   
Hit:5 xenial-security InRelease                              
Get:6 xenial InRelease [17.5 kB]
Get:7 xenial/main amd64 Packages [1,664 B]            
Get:8 xenial/main i386 Packages [1,664 B]             
Get:9 xenial/main Translation-en [836 B]              
Fetched 116 kB in 6s (16.8 kB/s)                                                               
Reading package lists... Done

After the updation is completed, install gns3 as follows.

root@linuxhelp:~# apt-get install dynamips gns3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Setting up libwiretap5:amd64 (2.0.2+ga16e22e-1) ...
Setting up libwireshark6:amd64 (2.0.2+ga16e22e-1) ...
Setting up wireshark-common (2.0.2+ga16e22e-1) ...
Setting up wireshark-qt (2.0.2+ga16e22e-1) ...
Setting up wireshark (2.0.2+ga16e22e-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...


To Launch the gns3 application

Open the GNS3 application.
To configure the project settings
Set project path
Set Dynamips executable path and test it.

Select networks and switch images.
After that click “close”. Now the gns project wizard is ready to use.
The sample setup appears as follows.
After completing the project click “save project”.
Enter a project name, path and Click OK.

Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: gns3 dynamips Ubuntu
user image Author :  Jacob
user image
danielmurray 10-06-2017 at 09:14
It would be nice to see this without the GUI... i.e. running as a remote server (with OUT having to use a vpn)
user image
ramprasathsadasivam 17-06-2017 at 19:36
Really Helpful post.
user image
aguswibowo 01-08-2017 at 06:04
thank u very much ... help me a lot ..