How To Install gns3 on Ubuntu 18.04
Introduction
In this tutorial we learn how to install gns3
on Ubuntu 18.04.
What is gns3
gns3 is:
GNS3 is a graphical network simulator that allows simulation of complex networks and to launch simulations on them. It is an excellent complementary tool to real labs for administrators of Cisco networks or people wanting to pass their CCNA, CCNP, CCIP or CCIE certifications. It can also be used to experiment with features of Cisco IOS or to check configurations that need to be deployed later on real routers.
You may configure devices ranging from Cisco routers, Cisco PIX firewalls, Cisco ASA Firewalls, Cisco IDS to JunOS routers using Qemu or Pemu. GNS3 uses dynamips as an emulation back end, an IOS emulator which allows users to run IOS binary images from Cisco Systems.
Cisco IOS, PIX, ASA or JunOS software images are not included.
There are three methods to install gns3
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install gns3 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gns3
using apt-get
by running the following command:
sudo apt-get -y install gns3
Install gns3 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gns3
using apt
by running the following command:
sudo apt -y install gns3
Install gns3 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install gns3
using aptitude
by running the following command:
sudo aptitude -y install gns3
How To Uninstall gns3 on Ubuntu 18.04
To uninstall only the gns3
package we can use the following command:
sudo apt-get remove gns3
Uninstall gns3 And Its Dependencies
To uninstall gns3
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove gns3
Remove gns3 Configurations and Data
To remove gns3
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge gns3
Remove gns3 configuration, data, and all of its dependencies
We can use the following command to remove gns3
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gns3
References
Summary
In this tutorial we learn how to install gns3
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.