Home
» LINUX
»
How to Install GNS3 on Linux: Ubuntu, Debian, and Arch
How to Install GNS3 on Linux: Ubuntu, Debian, and Arch
To install GNS3 on Linux, use the method for your distribution: the GNS3 Personal Package Archive (PPA) for 64-bit Ubuntu-based systems, pipx plus system dependencies on Debian-based systems, or AUR packages on Arch Linux. Each route installs the GNS3 graphical interface and server. GNS3’s current Linux installation guide no longer recommends the old Debian Jessie, Stretch, and Buster repository steps found in older articles.
Before installing GNS3
Update Linux first and decide which node back ends your lab needs. QEMU/KVM, Dynamips, VPCS, and Docker are separate components; the GUI does not include every emulator or appliance image. Linux can run local appliances without the GNS3 VM. Obtain vendor images from an authorized source and follow its license.
Use the commands for one distribution family and keep packages from that family’s repositories. Don’t mix the Ubuntu PPA instructions with Debian or Arch package commands.
Install GNS3 on Ubuntu and Ubuntu-based Linux
The current GNS3 guide supports 64-bit Ubuntu and Ubuntu-based distributions such as Linux Mint. Open Terminal and add the GNS3 PPA, then install the GUI and server:
Add the GNS3 PPA and refresh APT before installing the packages.
When asked whether non-root users may use Wireshark and ubridge, choose Yes if your account needs packet capture and virtual bridges. Add only groups that exist and match installed components. For a common local QEMU/KVM and packet-capture setup:
Log out and back in for group changes to take effect. Avoid the Docker group unless you need Docker nodes and understand the access it grants.
Install the GUI and server, then answer the packet-capture permission prompts.Sign out and back in after changing Linux group membership.
Install GNS3 on Debian and Debian-based distributions
GNS3’s current Debian route uses pipx for the GUI and server, and APT for Qt and emulation dependencies. Debian 13 no longer provides dynamips or software-properties-common in its standard repositories, so use the command below as written.
On older Debian releases, append dynamips if you need IOS emulation. Debian 13 users must build Dynamips separately by following the GNS3 instructions; QEMU/KVM labs do not need it.
Install Debian’s Python GUI and emulator dependencies before adding GNS3.
Install both apps with pipx, then inject the server and Qt bindings into the GUI environment:
If a command is missing from PATH, run pipx ensurepath and open a new terminal; pipx exposes apps from ~/.local/bin. See the pipx installation guide.
Install the GNS3 server and GUI with pipx.Connect the pipx environments and start the GNS3 GUI.
Install GNS3 on Arch Linux
Arch uses the Arch User Repository (AUR). Install the build tools, clone yay, and build it as a normal user, not as root:
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Review AUR build files before installing; they are user-maintained. The current GNS3 guide uses these packages. Remove docker if you do not need container nodes:
yay -S qemu docker vpcs dynamips libvirt ubridge inetutils
yay -S gns3-server gns3-gui
Build the yay AUR helper from its repository before installing GNS3 packages.Install GNS3 and the back ends your network lab needs from the AUR.
Launch GNS3 and check the local server
Open GNS3 from the application menu or run gns3. In the first-run wizard, choose Run appliances on my local computer, confirm the server settings, and finish. The GNS3 guide recommends 127.0.0.1 as a straightforward local host binding. See its local server setup instructions.
Create a blank project to check the GUI and server connection. If gns3 is missing after a Debian install, refresh PATH. If the server does not connect, check its host and port and sign in again after group changes. If a node fails, install its back end and verify the device image.
For a first device, use a template from the GNS3 Marketplace or import an image you are licensed to use.
What about Fedora, openSUSE, or another Linux distribution?
The current GNS3 guide lists Ubuntu-based, Debian-based, and Arch-based commands, but not current Fedora or openSUSE steps. Check your distribution’s repositories and dependency guidance before trying a manual pipx install; do not reuse the source article’s old Fedora 34/35 or Tumbleweed commands blindly.