Linoxide published a tutorial about installing Snort on Ubuntu 20.04.
How to Install Snort on Ubuntu 20.04
Learn here how to install Snort 3 on Ubuntu 20.04. Snort is an open-source lightweight network Intrusion Prevention System for running a network intrusion detection system (NIDS).
How to Install Snort on Ubuntu 20.04