How to Install GNS3 on Debian

With GNS3, you can make complex network designs and operate devices such as Cisco SwitchCisco Switch, or ASA Firewall.

How to Install GNS3 on Debian

How to Setup GNS3 on Debian 10

GNS3 is a very advanced network simulator program, and one of the main reasons it widely uses is that it is a very flexible program. You can also download and install GNS3 for free.

GNS3 is compatible with most operating systems and works seamlessly. In our previous articles, we installed GNS3 on Windows 10 and Ubuntu;

In this article, we will install the latest version of the Cisco network simulator program on Debian, a Linux-based operating system, and finally, add a C7200 Cisco Router to test the program.

First, add the repository addresses below to the /etc/apt/sources.list file.

deb cosmic main
deb-src cosmic main
deb jessie main
deb stretch main
deb unstable main
deb stretch contrib deb stretch non-free

Sourcelist’i düzenledikten sonra GNS3 kurmak için sırasıyla alttaki komutları Terminal’de çalıştırınız.

1) sudo apt-get install dirmngr
2) sudo apt-key adv –keyserver –recv-keys F88F6D313016330404F710FC9A2FD067A2E3EF7B
3) sudo apt-get update
4) sudo apt-get install gns3-gui
5) sudo apt-get install libqt5webkit5

The above libqt5webkit5 command is a dependent package required to run versions 2.1 of GNS3 and must be installed!

NOTE: You can download the GNS3 2.1.21 version on your computer by following the steps in this article.

How to Configure and Run GNS3 2.1 in Debian

You can install GNS3 on your Linux system/computer and prepare more specifically for Cisco CCNA Routing or Switching exams.

   Step 1

First, add the above addresses to the sources.list file. Make sure to open it as root. Otherwise, you will not be able to save changes to the file.

Debian Sources.list

   Step 2

Open the Terminal on the Debian desktop and use the su command to access Root.

Switching to Root Access in Terminal

   Step 3

If you receive the No dirmngr error as shown in the image below after executing the command “sudo apt-key adv –keyserver –recv-keys F88F6D313016330404F710FC9A2FD067A2E3EF7B“, you must first install the dirmngr package.

No dirmngr Error

   Step 4

Follow the command below to install the dirmngr package.

sudo apt-get install dirmngr

sudo apt-get install dirmngr

   Step 5

When installing Dirmngr, you need to add the Debian ISO file to the virtual machine or to your computer if you do not have an Internet connection.

Adding a Debian ISO File

   Step 6

After adding the installation image file to PC or VM, continue the installation.

Use ISO Image

   Step 7

You can now continue with the dirmngr installation by pressing the Enter button.

Pressing Enter to Continue Setup

   Step 8

Execute the sudo apt-key command again. As you can see in the image below, this time the key for GNS3 successfully imported.

sudo apt-key

   Step 9

In this step, execute the following command to update the packages.

sudo apt-get update

sudo apt-get update

   Step 10

And finally, run the following command to install GNS3 2.1 on Debian.

sudo apt-get install gns3-gui

sudo apt-get install gns3-gui

   Step 11

Setup reports that 587 MB of additional space will be used. Answer the question “Do you want to continue” by clicking the Yes (Y) button.

Confirming Additional Disk Space Usage

   Step 12

Wait while downloading GNS3 to your Linux computer.

Downloading GNS3

   Step 13

To use Wireshark on GNS3, press Enter on Yes.

Configure Wireshark Permission

   Step 14

To run the GNS3 simulator, type “gns3” in the Terminal and press Enter.

Running GNS3 with Terminal

   Step 15

After you have successfully installed the Cisco simulator program, you can check the version of the program from Help / About in the image below.

Checking GNS3 Version

How to Install GNS3 Step by Step ⇒ Video

To install GNS3 2.1, you can watch the video below and also subscribe to our YouTube channel to support us!

   Final Word

In this article, we have examined how to configure GNS3 on Debian installed on Windows 10 operating system. Thanks for following us!

   Related Articles

♦ vIOS-L2
How to Configure GNS3 in macOS
How to Configure GNS3 VM in macOS
How to Configure Spanning Tree
How to Configure IOU L2

Add a Comment

Your email address will not be published. Required fields are marked *