sudo apt-get install software-properties-common
sudo add-apt-repository ppa:oisf/suricata-stable
sudo apt-get update
Then install the latest stable version of Suricata:
sudo apt-get install suricata
sudo apt-get install jq
To check:
sudo suricata --build-info
![](https://unix.guide/wp-content/uploads/2024/04/Screenshot-2024-04-22-at-16.34.29-1024x393.png)
sudo systemctl status suricata
![](https://unix.guide/wp-content/uploads/2024/04/Screenshot-2024-04-22-at-16.35.11-1024x291.png)