Snort is by far the most popular open-source network intrusion detection and prevention system (IDS/IPS) for Linux. There are cases where you want to build Snort from source code, not install it from Linux packages. This tutorial describes how to compile and install Snort from source code.