#!/bin/bash #------------------------------------------------------------------------- # Script which installs a virtual environment for PCAP file parsing # # Stefan Mathis, September 2024 #------------------------------------------------------------------------- # Remove any previous testing environment if [ -d "demovenv" ]; then rm -r demovenv fi /usr/bin/python3.11 -m venv demovenv source demovenv/bin/activate pip install --upgrade pip pip install "scapy>=2.5,<3.0" pip install matplotlib # Exit the virtual environment exit