It is currently Mon Apr 22, 2019 10:32 pm


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Updating GNS3 using pip
PostPosted: Fri Sep 05, 2014 6:44 am 
Offline

Joined: Fri Sep 05, 2014 6:37 am
Posts: 1
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!




Top
 Profile  
 
 Post subject: Re: Updating GNS3 using pip
PostPosted: Fri Sep 05, 2014 9:15 am 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
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)



_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO