GNS3
http://forum.gns3.net/

Updating GNS3 using pip
http://forum.gns3.net/topic11874.html
Page 1 of 1

Author:  Simplexity [ Fri Sep 05, 2014 6:44 am ]
Post subject:  Updating GNS3 using pip

Hello forum,

Recently I set up a GNS3 lab on Lubuntu 14.04. It was a relatively lengthy operation to get it all working (mainly my own fault), so I would prefer not having to do it again when a new version gets out. My current version is 1.0beta3.dev1. Can I update it using pip when 1.0beta3.dev2 (for example) comes out? If so, how?

Thanks in advance!

Author:  claydon_dan [ Fri Sep 05, 2014 9:15 am ]
Post subject:  Re: Updating GNS3 using pip

The version you've got didn't come from pip at all... The dev versions are from Git. If you want to use the bleeding-edge development code (e.g for bug-fixing etc) the easiest way is to update it using Git, which is what I do.

You'll need a clone of both gns3-server and gns3-gui from GitHub.
Code:
git clone <git address>


If you already have these you can update them using:
Code:
git pull
in both the -server and -gui folders.

To then install these from each folder, just run
Code:
python3 setup.py install

==============================================================

To use install a release version from Git:
Code:
git pull
git checkout v1.0-beta2
python3 setup.py install
git checkout master


Replace the tag at the end of the git checkout command with a tag from the tag pages (https://github.com/GNS3/gns3-gui/tags, https://github.com/GNS3/gns3-server/tags)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/