Command to install zeek
-
Install ethtool
-
Update your system
sudo apt update && sudo apt upgrade
-
Install zeek pre-req
sudo apt-get install cmake make gcc g++ flex bison libpcap-dev libssl-dev python2-dev swig zlib1g-dev
-
Add zeek repositories to local repo
wget -nv https://download.opensuse.org/repositories/security:/zeek/xUbuntu_22.04/Release.key -O Release.key
-
Addkey
sudo apt-key add - < Release.key
-
Update package to see if there's new repo
sudo apt update
-
Add repofile (needs root perm)
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/security:/zeek/xUbuntu_22.04/ /' > /etc/apt/sources.list.d/security:zeek.list"
-
Update to see if we have any new repo
sudo apt update
-
Install zeek
sudo apt install zeek-lts
-
Zeek is now installed!
To verify if we have installed,
ls /opt/zeek
ls the binary package install location should be in /opt/zeek
there should also be commandos in the bin folder
cd /opt/zeek/bin/
./zeek -h
./zeekctl -h
-
Installation is verified!
-
command linking
echo 'export PATH=$PATH:/opt/zeek/bin' > ~/.bashrc