These "directions" to install Suricata on SUSE Linux include a script and how to run it. The script was designed to install Suricata 3.1dev on an AWS instance of SUSE 12 SP1. This script was based on these here. This script requires that your AWS SUSE Linux server is in a security group that has access to the Internet. The script takes approximately five minutes to run. But bandwidth and resources on your instance may vary.
Step #1 Log in and become root.
Step #2 Run this command: vi /tmp/installer.sh
Step #3 Input this script starting with the "#!/bin/bash" line below. The final line is "&& ldconfig"
#!/bin/bash
#Written by continualintegration.com
zypper -n install gcc
zypper -n install zlib-devel
zypper -n install libtool make
zypper -n install libpcre1
zypper -n install autoconf
zypper -n install automake
zypper -n install gcc-c++
zypper -n install pcre-devel
zypper -n install libz1
zypper -n install file-devel
zypper -n install libnet1
zypper -n install libpcap1
zypper -n install libpcap-devel
zypper -n install libnet-devel
zypper -n install libyaml-devel
zypper -n install libyaml-0-2
zypper -n install git-core
zypper -n install wget
zypper -n install libcap-ng0
zypper -n install libcap-ng-devel
zypper -n install libmagic1
zypper -n install file-magic
zypper -n install mozilla-nss
zypper -n install mozilla-nss-devel
zypper -n install mozilla-nspr
zypper -n install mozilla-nspr-devel
zypper -n install mozilla-nss-tools
zypper -n install GeoIP
zypper -n install libGeoIP-devel
git clone git://phalanx.openinfosecfoundation.org/oisf.git \
&& cd oisf/\
&& git clone https://github.com/ironbee/libhtp.git -b 0.5.x \
&& ./autogen.sh \
&& ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ \
--disable-gccmarch-native --enable-gccprotect \
--enable-geoip \
--with-libnss-libraries=/usr/lib64 \
--with-libnss-includes=/usr/include/nss3 \
&& make clean && make && make install-full \
&& ldconfig
Step #4 Run the script with this command: sudo bash /tmp/installer.sh
Step #5 Run this command to confirm Suricata is installed: suricata -V