in linux install GNS3
refer
Ubuntu-based distributions (64-bit only)
sudo add-apt-repository ppa:gns3/ppa
sudo apt update
sudo apt install gns3-gui gns3-server
If you want IOU support
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install gns3-iou
Debian-based distributions
sudo apt update
sudo apt install python3 python3-pip pipx python3-pyqt5 python3-pyqt5.qtwebsockets python3-pyqt5.qtsvg qemu-kvm qemu-utils libvirt-clients libvirt-daemon-system virtinst dynamips software-properties-common ca-certificates curl gnupg2
pipx install gns3-server
pipx install gns3-gui
# To launch the GUI, we will need to prepare the virtual environment. Inject the GNS server and QT elements:
pipx inject gns3-gui gns3-server PyQt5