GNS3 Installation on Fedora 22

Following on from one of my earlier posts installing GNS3 on Fedora, CentOS and RHEL, it would appear that things have changed a little once you are on Fedora 22.

The following details the steps requred to get up and running with GNS3 on Fedora 22.

When I tried to install the pre-requisites based on my original post, I got the following error;

Error: Transaction check error:
file /usr/bin/pylupdate4 conflicts between attempted installs of python3-PyQt4-devel-4.11.3-5.fc22.i686 and python3-PyQt4-devel-4.11.3-5.fc22.x86_64
file /usr/bin/pyrcc4 conflicts between attempted installs of python3-PyQt4-devel-4.11.3-5.fc22.i686 and python3-PyQt4-devel-4.11.3-5.fc22.x86_64

Obtaining the files

If you download the latest GNS3 zip file it will contain pretty much everything you need (apart from the require packages to build the different applications, see below).

https://community.gns3.com/community/software/download/

Note.  You will need to register.

Pre-reqs – GNS3 Generic

sudo dnf install python3-setuptools python3-devel python3-sip.i686 python3-sip.x86_64 python3-PyQt4.i686 python3-PyQt4.x86_64 python3-PyQt4-devel.i686 python3-net*

Note.  Fedora 22 now uses dnf for package management and yum is depreciated.  If you do run yum it will redirect your request to dnf.

Installation of dynamiqs

You will need to make sure you have the required pre-req packages as detailed below.

$ sudo dnf gcc gcc-c++ elfutils-libelf-devel libuuid-devel libuuid-devel cmake

And then the process to build remains the same;

</pre>

$ cd /path/to/gns3_source/dynamips_extracted_folder
$ mkdir build
$ cd build
$ cmake ..
$ sudo make install

Installation of GNS3-GUI

<code class="bash plain"></code><code class="bash functions"></code><code class="bash plain"></code><code class="bash functions"></code>$ cd /path/to/gns3_source/gns3-gui
$ sudo python3 setup.py install

Installation of GNS3-Server

$ cd ../gns3-server-1.3.7/
$ sudo python3 setup.py install

 Installation of IOUYAP

$ sudo dnf install gcc flex bison glibc-devel iniparser-devel

Some packages may already be installed and will be skipped.

$ bison --yacc -dv netmap_parse.y
$ flex netmap_scan.l
$ gcc -Wall -g *.c -o iouyap -liniparser -lpthread

At this point there is the VPCs, to configure but as I’m not intending on using that right now, I shall leave that for another day.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.