How to install GNS3 on Fedora

How to install GNS3 on Fedora
Photo by Jordan Harrison / Unsplash

What is GNS3 ?

Graphical Network Simulator-3 (shortened to GNS3) is a network software emulator first released in 2008. It allows the combination of virtual and real devices, used to simulate complex networks. It uses Dynamips emulation software to simulate Cisco IOS (WikiPedia).

How to install GNS3

I will show you how to install GNS3, dynamips, vpcs and ubridge on Fedora.

Enable RPMFusion repositories

Note: Non-free RPMFusion repository is required for dynamips. If you don’t need it, you can skip this step.

  $ sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Enable copr repository with VPCS

Note: Copr VPCS repository is required because VPCS is not available in official Fedora repositories. If you do not need VPCS, you can skip this step.

  $ sudo dnf copr enable tgerov/vpcs

You can now perform the actual installation of GNS3

  $ sudo dnf install gns3-gui gns3-server dynamips vpcs ubridge

Now GNS3 will be listed in your applications. Optionally, libvirt and qemu-kvm can be installed and it will be possible to add virtual machines directly in GNS3 topology.

  $ sudo dnf install libvirt qemu-kvm
  $ sudo gpasswd -a <My-User> libvirt