Install Several Automation Tools on Ubuntu 16.04
Here, how we install several automation tools on Linux Machine. We’re using Ubuntu as Control Machine.
Paramiko
packetnotes@ubuntu:~$ sudo apt-get install build-essential libssl-dev libffi-dev -y
packetnotes@ubuntu:~$ sudo apt-get install python-pip -y
packetnotes@ubuntu:~$ sudo pip install cryptography
packetnotes@ubuntu:~$ sudo pip install –upgrade pip
packetnotes@ubuntu:~$ sudo pip install paramiko
packetnotes@ubuntu:~$ sudo pip install –upgrade paramiko
packetnotes@ubuntu:~$ pip show paramiko
Name: paramiko
Version: 2.4.1
Summary: SSH2 protocol library
Home-page: https://github.com/paramiko/paramiko/
Author: Jeff Forcier
Author-email: jeff@bitprophet.org
License: LGPL
Location: /usr/local/lib/python2.7/dist-packages
Requires: pyasn1, bcrypt, cryptography, pynacl
Required-by:
Netmiko:
Must install Paramiko first before installing Netmiko
packetnotes@ubuntu:~$ sudo pip install netmiko
packetnotes@ubuntu:~$ sudo pip show netmiko
Name: netmiko
Version: 2.1.1
Summary: Multi-vendor library to simplify Paramiko SSH connections to network devices
Home-page: https://github.com/ktbyers/netmiko
Author: Kirk Byers
Author-email: ktbyers@twb-tech.com
License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires: paramiko, scp, pyyaml, pyserial, textfsm
Required-by:
NAPALM
packetnotes@ubuntu:~$ sudo apt-get install -y –force-yes libssl-dev libffi-dev python-dev python-cffi
packetnotes@ubuntu:~$ sudo pip install napalm
packetnotes@ubuntu:~$ pip show napalm
Name: napalm
Version: 2.3.1
Summary: Network Automation and Programmability Abstraction Layer with Multivendor support
Home-page: https://github.com/napalm-automation/napalm
Author: David Barroso, Kirk Byers, Mircea Ulinic
Author-email: dbarrosop@dravetech.com, ping@mirceaulinic.net, ktbyers@twb-tech.com
License: UNKNOWN
Location: /usr/local/lib/python2.7/dist-packages
Requires: setuptools, cffi, future, jtextfsm, jinja2, netaddr, pyYAML, pyeapi, netmiko, pyIOSXR, junos-eznc, pynxos, scp
Required-by:
PyNTC
packetnotes@ubuntu:~$ sudo pip install pyntc
packetnotes@ubuntu:~$ pip show pyntc
Name: pyntc
Version: 0.0.5
Summary: A multi-vendor library for managing network devices.
Home-page: https://github.com/networktocode/pyntc
Author: Network To Code
Author-email: ntc@networktocode.com
License: UNKNOWN
Location: /usr/local/lib/python2.7/dist-packages
Requires: requests, jsonschema, future, netmiko, paramiko, pynxos, coverage, mock, terminal, gtextfsm, pyeapi, junos-eznc
Required-by: