GNS3 Linux Install
Installation from Packages
Ubuntu-based distributions (64-bit only)
These instructions are for Ubuntu and all distributions based on it (like Linux Mint).
(when prompted whether non-root users should be allowed to use wireshark and ubridge, select ‘Yes’ both times)
If you want IOU support
To install Docker CE (Xenial_and_newer)
Remove any old versions:
Install the following packages:
Import the official Docker GPG key:
Add the appropriate repo:
Install Docker-CE:
Finally, add your user to the following groups:
(use “sudo usermod -aG group user_name” to add your user to each of those groups) Restart your user session by logging out and back in, or restarting the system.
Debian-based distributions (64-bit only)
For Debian Jessie Add the following lines to your /etc/apt/sources.list:
For Debian Stretch Add the following lines to your /etc/apt/sources.list:
For Debian Buster Refresh your metadata, and install the following packages:
Install GNS3 on ArchLinux Based :
Install GNS3 on Archlinux based distros ( Arch - EndeavourOS - Garuda - ArcoLinux )
Install YAY package manager:
To install GNS3 on Archlinux you will need yay
to install from Arch Users Repository ( AUR ), thats if it's not already installed, to install yay
type below command in terminal:
and follow the setup process choosing the package source and confirm installation .
Install Prerequesits + docker:
Next we will install pre-requesit packages from the same AUR source. Please note that mixing installation source may lead to unfuncional application or unstability:
Install GNS3 Server and GUI
Finalize installation
Finally you we need to add your user to the gns3 groups as demonestared later and do reboot.
Install GNS3 from Pypi:
We’ll go ahead and install docker next. Import the Docker GPG key:
(As of 10/10/2019, Buster requires using the “edge” repo)
Refresh your metadata, and install docker:
Add the following lines to your /etc/apt/sources.list:
Get the GPG key:
Refresh your metadata, and ONLY install the following two packages!
To prevent accidentally installing anything else from that repo (for now), remove or comment out those two lines in your /etc/apt/sources.list file:
You can also remove that GPG key, if desired:
Add your user to the following groups:
(use “sudo usermod -aG group your_user” to add your user to an existing group). Restart your user session by logging out and back in, or rebooting the system.
note
The reason we currently can’t just install all of the packages (except docker-ce) off launchpad, is due to a python issue
If you have a pre-existing install of Buster, and run into the following error, follow these instructions (shout out to user Pierce Howell for providing them!)
Start by uninstalling gns3 and gns3-server (Do not remove the ppa’s):
Create a symbolic link for python 3.5 using python3.7:
Install python-pip and python3-pip to use the gns3 from source:
sudo apt install python-pip python3-pip
Install from PyPi as listed:
Once installed, additional dependencies such as QtSvg, qtwebsockets, and dynamips will be required in order for the application to run.
Finally, attempt to start gns3 from the command line. If you receive no output errors and the application does not start, try to reboot your machine.
note
You may not have to reboot your machine. The reboot worked in my case after much trial and error. You may also have to add the shortcut as it may not automatically populate in your applications menu.