0% found this document useful (0 votes)
51 views2 pages

Installing GNS3 1.4.1 On Debian Stretch.: Install GNS3 and GNS3-Server

The document provides instructions for installing GNS3 1.4.1 on Debian Stretch from source in order to use more recent versions than those available in the distribution's packages. It describes downloading and compiling GNS3, its server component, and Dynamips from source before configuring GNS3 to use the newly installed components.

Uploaded by

Willy Niba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views2 pages

Installing GNS3 1.4.1 On Debian Stretch.: Install GNS3 and GNS3-Server

The document provides instructions for installing GNS3 1.4.1 on Debian Stretch from source in order to use more recent versions than those available in the distribution's packages. It describes downloading and compiling GNS3, its server component, and Dynamips from source before configuring GNS3 to use the newly installed components.

Uploaded by

Willy Niba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Installing GNS3 1.4.1 on Debian Stretch.

I’am studying for my CCNA, and dynamips with GNS3 is a helpful tool while studying the exam
objectives. Running Debian testing (Stretch), I was suprised with the outdated GNS3 packages (version
0.8.7). Following are instruction on howto build the latest GNS3 1.4.1 by yourself.
Install GNS3 and GNS3-Server
As root run :

sudo apt-get install python3-setuptools python3-pyqt5 python3-


pyqt5.qtsvg python3-pyqt5.qtwebkit python3-dev build-essential linux-
headers-$(uname -r)

Download the GNS3-GUI and GNS3-Server package:


GNS3-GUI : https://pypi.python.org/packages/source/g/gns3-gui/gns3-gui-
1.4.1.tar.gz#md5=962438ca44da98ac2c09409819e1c3dd
GNS3-Server : https://github.com/GNS3/gns3-server/archive/v1.4.1.tar.gz
Move the packages to

/usr/src

Next untar the gns3-gui package and build the package

tar zxvf /usr/src/gns3-gui-1.4.1.tar.gz


cd /usr/src/gns3-gui-1.4.1
python3 ./setup.py install

Now install the GNS3 server

tar zxvf /usr/src/v1.4.1.tar.gz


cd /usr/src/gns3-server-1.4.1
python3 ./setup.py install

Installing Dynamips
Dynamips can be installed with the package manager (apt-get install dynamips) or build form source.
Install the packages needed to build dynamips

apt-get install libelf-dev uuid-dev libpcap0.8-dev cmake build-


essential

Download dynamips from http://sourceforge.net/projects/gns-3/files/Dynamips/0.2.14/


Make a directory dynamips in /usr/src
mkdir /usr/src/dynamips

And copy the dynamips-0.2.14-source.zip file to the directory and build dynamips from source.

cd /usr/src/dynamips
unzip ./dynamips-0.2.14-source.zip
mkdir build
cd build
cmake /usr/src/dynamips/ -DCMAKE_INSTALL_PREFIX=/opt/dynamips
-DDYNAMIPS_CODE=stable
make install

Running and configuring GNS3


First start the GNS3-server :

gns3server --local

Now start GNS3 and configure it to use the compiled (or installed) dynamips package. Under Edit =>
Preferences.

You might also like