17, Oct 2026 RSS feed ↗

How to Install GNS3 on Debian

What is GNS3?

GNS3 (Graphical Network Simulator-3) is an open-source software that allows users to simulate and test network configurations. It allows users to create virtual networks using a variety of different network devices, including routers, switches, and servers, and connect them to each other in a virtual environment. The software allows users to create complex network topologies and test different configurations without the need for physical hardware. This makes it useful for network engineers and students learning about networking concepts. GNS3 supports a wide range of network protocols and technologies, such as Cisco IOS, Juniper JUNOS, and VIRL.

How to Install GNS3 on Debian

Installing GNS3 on Debian Linux involves a few steps:

  1. First, you will need to add the GNS3 package repository to your system. You can do this by running the following command:
echo "deb http://ppa.launchpad.net/gns3/ppa/ubuntu bionic main" | sudo tee /etc/apt/sources.list.d/gns3-server.list
  1. Next, you will need to add the GNS3 package repository's public key to your system. This is done to ensure that the packages are coming from a trusted source. You can do this by running the following command:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F88F6D313016330404F710FC9A2FD067A2E3EF7B
  1. Now you can update the package list with the command:
sudo apt-get update
  1. You can install GNS3 package by running the following command:
sudo apt-get install gns3-gui gns3-server
  1. Once the installation is finished, you can start GNS3 by running the command:
gns3
  1. To use GNS3, you will also need to install at least one IOS image. You can download the IOS image from Cisco website and then import it into GNS3 by going to Edit -> Preferences -> IOS on UNIX -> New.

Please note that the above command is for Debian version Bionic (18.04) or later. For older version of Debian, you may need to use different package names and sources. Also if you have any problem with the installation you can check the GNS3 documentation for more details.

E

Evren E.

Evren Elveren is the founder of LinuxHospital, iPhonePost, iPhonePedia, CasinoPost, SongArea, SongLyrics.band and LyricsKid. An entrepreneur active in online publishing and digital projects since 2006, he brings a publisher's perspective to the way technology, entertainment and online businesses develop. His background in architecture informs his interest in design, usability and the small details that make a product or website work well. Evren writes about consumer technology, Linux, digital finance and music, connecting product announcements with their wider business and cultural context. Across the network, his editorial focus is on clear explanations, useful comparisons and practical information that helps readers understand a change before deciding what to do next.

More from this author →