Fedora 19 how to install GNS3

Doesnt seem to be a package for GNS3 on Fedora but installing from source is pretty straight forward πŸ™‚Β The example below uses the latest version at the time of writing which was 0.8.4 stable.

cd GNS3-0.8.4-src
sudo python install

Thats GNS3 installed! Now we just need dynamips install to make it useful:

cd dynamips-0.2.8-community.source

Before we go further we need to install some dependencies:

sudo yum install  qemu libpcap elfutils-libelf-devel elfutils-libelf libuuid libuuid-devel gcc libpcap libpcap-devel

Next we need to modify the a couple of things specific to our architecture (im on a x86-64 box). First of a link from to libelf.a.

### For 64bit OS run this
sudo ln -s /usr/lib64/ /usr/lib64/libelf.a
### For 32 bit run this 
sudo ln -s /usr/lib/ /usr/lib/libelf.a

Next we need to modify a couple of lines in the Makefile. So open Makefile in an editor (the options I use below are well commented in the Makefile:

export DYNAMIPS_ARCH?=amd64
export DYNAMIPS_LIB?=lib64

Then simply run make to build dynamips


Now we just need to copy dynamips somewhere better:

sudo cp dynamips.stable /usr/local/bin/dynamips

Final step is to launch GNS3 by running gns3 and configure the location of dynamips and your images. For qemu I use /usr/bin/qemu-kvm and it works no problem with a Juniper Olive image.

m00nie πŸ™‚


  • have you tried to install qemu for gns3 to emulate a pix/asa and juniper os? I would love to see direction on how to install that as well. your directions above were the most straight forward that i have ran across. I am still a tad new to linux.

  • Hi Jeff

    Thanks, glad to hear it helped you out πŸ™‚ The instructions above install qemu.
    For Qemu I’ve only tried Juniper Olive images but they work fine by using “path to qemu = /usr/bin/qemu-kvm or simialar”
    Hope that helps


  • I must stop here and say that these are one of the best instructions I have seen on GNS3 for fedora. Awesome work and thanks for helping n00bs like me.

  • Thanks a lot for this! I have access to PacketTracer, however I don’t like to have to open up my Virtual Win8 to use it, and I run Schrodinger’s Cat natively. Haven’t been able to get the Linux version of PT to run at all on my box. This should save me some decent time while studying for my CCNA. You rock m00nie! RedHat elitists unite! πŸ˜‰

  • Hi Craig

    Glad to hear to hears its going to help with the study πŸ™‚ not much comparison between PT and gns3