AutoNetkit requires Python 2.7
AutoNetkit is available on the Python Package Index. You can install it using either the easy_install
or pip Python package management tools
pip install autonetkit
Mac OS X
Note: depending on your system, you may need to use sudo with pip or easy_install.
sudo easy_install autonetkit
sudo pip install autonetkit
First install Python, and easy_install or pip using your package manager:
sknight@trc1:~$ sudo apt-get install python-pip sknight@trc1:~$ pip install autonetkit
- Download Python for Windows from:
http://www.python.org/ftp/python/2.7.2/python-2.7.2.msiInstall the package
Download easy_install for Windows:
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe#md5=57e1e64f6b7c7f1d2eddfc9746bbaf20Install the package
- Start a command window (run cmd.exe) and cd to directory to which Python was installed (defaults to C:\Python27)
- cd into the Scripts directory.
Install the PIP package management tool by typing:
Once complete, install AutoNetkit as follows:
pip.exe install autonetkitAutoNetkit is now installed in the ‘scripts’ directory
Development AlphaThese instructions work for both OSX and Linux. They are untested on Windows, but if you have Pip you should be able to run the development branch. To install pip:
wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086 sudo sh ./setuptools-0.6c11-py2.6.egg sudo easy_install pipYou can now install the development branch of AutoNetkit (note this is in alpha stage!)
sudo pip install git+https://github.com/sk2/autonetkitDraw a graph in yED, save as .graphml format, and pass this to AutoNetkit:
autonetkit -f backbone.graphml --compileYou can also start the webserver:
ank_webserverAnd should be able to connect in a browser at 127.0.0.1:8000 If you now run autonetkit -f as before, the output will update in your web browser.