Installing Suricata on Parrot OS: Don’t make the same mistake I did, here’s the simple solution!

So, there I was on a normal geeky afternoon trying to install Suricata on my Parrot OS so I could learn the ropes of the application on my cybersecurity journey. As usual, I did a quick search on the installation of Suricata on Parrot OS and they returned a response. Add the repository and install using “apt”. Little did I know I was about to be distracted and frustrated for the next 1 hour. Apparently, I wasn’t in the know enough to solve this simple problem, but whoever does a quick search should not need to go down the rabbit hole as I finally stumbled on the problem and its solution. I then journaled what happened to help anyone who searches for the solution, just as I did.

My Linux journey so far has been Ubuntu and Windows. Then I discovered Linux Mint which became my daily driver. As a support desk technician and later network administrator, I used Linux Mint as my daily driver with Windows as a gaming operating system. Then I got interested in cybersecurity and switched my daily driver to Kali Linux. But Kali Linux had its issues my wireless network card would just not work and so I switched to Parrot OS. But until now, whenever I wanted to add a repository, the simple “add-apt-repository” command worked. But I didn’t know that’s not the default behaviour and my distributions had just enabled this apt function.

Fast forward to trying to install Suricata, my quick search directed me to this Reddit question on the ParrotOS Community. They had left the question ignored for two years and I wondered if that meant I won’t be able to solve my predicament. The second suggestion I got was this piece by the well-respected Daniel Miessler. But following the steps, I found that Suricata just won’t compile properly (and I’m too lazy to debug).

The next step I examined was to seek how to configure Suricata on RaspberryPi and thus I stumbled on the solution. Parrot OS didn’t ship with add-apt-repository installed and thus each time I tried to add the Suricata repository I got the error as shown in the picture.

A Picture showing the error that occurs when I try to add the Suricata Repository on Parrot OS

And thus, to solve this issue, add-apt-repository must be installed. We can find it in the software-properties-common package.

To successfully install Suricata on Parrot OS, run the following commands in order:

  1. sudo apt-get install software-properties-common -y
  2. sudo add-apt-repository ppa:oisf/suricata-stable
  3. sudo apt-get update
  4. sudo apt-get install Suricata -y
A picture showing the set of commands needed to successfully install Suricata on Parrot OS.

Checking the manual page of Suricata to confirm successful installation gives the much-needed result

A picture of the Manual page for Suricata which confirms the successful installation of Suricata on Parrot OS.

Leave a Reply

Your email address will not be published. Required fields are marked *

RELATED

Secure Families: Fight Cyber Kidnapping & AI Risks

Guard your loved ones from digital dangers: Essential strategies to navigate Cyber Kidnapping & AI threats with wisdom and care.

Forensic Toolkit (FTK) – A Digital Forensics Deep Dive

Explore FTK's capabilities in digital forensics: from evidence processing to advanced analysis. Unveil the power of AccessData Forensic ToolKit.

VI Editor: Your Ultimate Guide to Mastering the Text Editor for UNIX and Linux

Laugh Your Way to Text Editing Mastery with VI Editor: Your Ultimate Guide to Command Line Productivity on UNIX and…

Everything You Wanted to Know About Attack Vectors

An attack vector is the pathway used by an attacker to gain access to the entity being attacked. Often in…