GNS3 is a free and open-source software network simulator to test and verify real-world deployments without the need for actual network hardware. It also helps you to practice for certification exams like CCNA, CCNP, CCIE, etc. With GNS3, you can create a small topology ranging from few devices on your system to those having multiple devices hosted on different servers. GNS3 can be installed and used on Linux, Mac, and Windows OS.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform related open-source software queries.
In this context, we will look into how to install the GNS3 network simulator on Ubuntu 20.04 LTS.
GNS3 is not available in the default repositories of Ubuntu OS. To install it, you will need to add its PPA repository to your Ubuntu system. Then we will install it using the Ubuntu package manager.
1. Add GNS3 PPA to your system
Use the command below in Terminal to add the GNS3 PPA to your system repositories:
$ sudo add-apt-repository ppa:gns3/ppa
After running the above command, you will be prompted to input the sudo password. Type the sudo password and hit Enter key. Then again, hit Enter key to continue the procedure. Once this step is completed, move on to the next step. If you do not want to proceed, hit Ctrl-c to cancel it.
2. Perform system Update
After running the above command, update the local repository index. The command to do so is as follows:
$ sudo apt update
Now your local repository will be updated with the GNS3 PPA.
3. Install GNS3 software
Here, install GNS3 software using the below command:
$ sudo apt install gns3-gui gns3-server
4. Verify GNS3 installation
To verify GNS3 installation on your system, use the below command:
$ gns3 --version
The output will display the exact version of GNS3 is installed on our system.
5. Launch GNS3
You can launch GNS3 either using the command line Terminal application or the graphical interface. To launch GNS3 using the command line, just run the below command:
In case you want to uninstall GNS3, you can do so as follows:
$ sudo apt remove gns3-gui gns3-server
Provide sudo password and then GNS3 will be uninstalled from your system.
This article covers how to install GNS3 on Ubuntu 20.04 LTS OS. In fact, GNS3 is an incredibly powerful tool that virtualizes real network hardware and helps you to test and verify real-world network deployments. It provides a risk-free virtual environment to design and build a network with your considered size and even with no hardware. GNS3 can be installed on Windows, macOS, and on Linux. It supports Linux distributions (Ubuntu-based distributions 64 bit only) and emulates Linux switches and multiple Linux appliances.