Skip to content

hussein2010/gns3-gui

 
 

Repository files navigation

GNS3-gui

image

image

GNS3 GUI repository.

Linux (Debian based)

The following instructions have been tested with Ubuntu and Mint. You must be connected to the Internet in order to install the dependencies.

Dependencies:

  • Python 3.3 or above
  • Setuptools
  • PyQt 5 libraries
  • Apache Libcloud library
  • Requests library
  • Paramiko library

The following commands will install some of these dependencies:

sudo apt-get install python3-setuptools
sudo apt-get install python3-pyqt5
sudo apt-get install python3-pyqt5.qtsvg
sudo apt-get install python3-pyqt5.qtwebkit

If you want to test using PyQt4

Finally these commands will install the GUI as well as the rest of the dependencies:

cd gns3-gui-master
sudo python3 setup.py install
gns3

Windows

Please use our all-in-one installer to install the stable build.

If you install via source you need to first install:

And finally, call

python setup.py install

to install the remaining dependencies.

Mac OS X

Please use our DMG package or you can manually install using the following steps (experimental):

First install homebrew.

Then install the GNS3 dependencies.

brew install python3
brew install qt
brew install sip --without-python --with-python3
brew install pyqt5 --without-python --with-python3

If you want to test using PyQt4

Finally, install both the GUI & server from the source.

cd gns3-gui-master
python3 setup.py install
cd gns3-server-master
python3 setup.py install

Or follow this HOWTO that uses MacPorts.

Development

If you want to update the interface, modify the .ui files using QT tools. And:

cd scripts
python build_pyqt.py

Debug

If you want to see the full logs in the internal shell you can type:

debug 2

Or start the app with --debug flag.

Due to the fact PyQT intercept you can use a web debugger for inspecting stuff: https://github.com/Kozea/wdb

Test with PyQT4

If you want to simulate a user with PyQT4:

export GNS3_QT4=1
python gns3/main.py

About

GNS3 Graphical User Interface

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%