{"id":111,"date":"2023-02-17T00:49:47","date_gmt":"2023-02-16T23:49:47","guid":{"rendered":"https:\/\/kosokoking.com\/?p=111"},"modified":"2025-01-02T10:55:38","modified_gmt":"2025-01-02T09:55:38","slug":"installing-suricata-on-parrot-os-dont-make-the-same-mistake-i-did-heres-the-simple-solution","status":"publish","type":"post","link":"https:\/\/kosokoking.com\/index.php\/technology\/installing-suricata-on-parrot-os-dont-make-the-same-mistake-i-did-heres-the-simple-solution\/","title":{"rendered":"Installing Suricata on Parrot OS: Don&#8217;t make the same mistake I did, here&#8217;s the simple solution!"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">So, there I was on a normal geeky afternoon trying to install <a href=\"https:\/\/suricata.io\/\">Suricata<\/a> on my <a href=\"https:\/\/www.parrotsec.org\/\">Parrot OS<\/a> 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 \u201capt\u201d. Little did I know I was about to be distracted and frustrated for the next 1 hour. Apparently, I wasn\u2019t 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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My Linux journey so far has been <a href=\"https:\/\/ubuntu.com\/\">Ubuntu<\/a> and Windows. Then I discovered <a href=\"https:\/\/linuxmint.com\/\">Linux Mint<\/a> 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 <a href=\"https:\/\/www.kali.org\/\">Kali Linux<\/a>. 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 \u201cadd-apt-repository\u201d command worked. But I didn\u2019t know that\u2019s not the default behaviour and my distributions had just enabled this apt function.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fast forward to trying to install Suricata, my quick search directed me to <a href=\"https:\/\/www.reddit.com\/r\/ParrotOS\/comments\/opjb8e\/install_suricata_ids\/\">this<\/a> Reddit question on the <a href=\"https:\/\/www.reddit.com\/r\/ParrotOS\/\">ParrotOS Community<\/a>. They had left the question ignored for two years and I wondered if that meant I won\u2019t be able to solve my predicament. The second suggestion I got was <a href=\"https:\/\/danielmiessler.com\/blog\/how-to-install-suricata-on-a-linux-box-in-5-minutes\/\">this piece<\/a> by the well-respected Daniel Miessler. But following the steps, I found that Suricata just won\u2019t compile properly (and I\u2019m too lazy to debug).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next step I examined was to seek how to configure Suricata on RaspberryPi and thus I stumbled on the solution. Parrot OS didn\u2019t 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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/first.png\" alt=\"A Picture showing the error that occurs when I try to add the Suricata Repository on Parrot OS\" class=\"wp-image-112\" width=\"841\" height=\"106\" srcset=\"https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/first.png 542w, https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/first-300x38.png 300w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And thus, to solve this issue, add-apt-repository must be installed. We can find it in the software-properties-common package.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To successfully install Suricata on Parrot OS, run the following commands in order:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\">\n<li>sudo apt-get install software-properties-common -y<\/li>\n\n\n\n<li>sudo add-apt-repository ppa:oisf\/suricata-stable<\/li>\n\n\n\n<li>sudo apt-get update<\/li>\n\n\n\n<li>sudo apt-get install Suricata -y<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-default\"><img decoding=\"async\" src=\"https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/midle.png\" alt=\"A picture showing the set of commands needed to successfully install Suricata on Parrot OS.\" class=\"wp-image-113\" width=\"839\" height=\"146\" srcset=\"https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/midle.png 534w, https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/midle-300x52.png 300w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Checking the manual page of Suricata to confirm successful installation gives the much-needed result<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/last.png\" alt=\"A picture of the Manual page for Suricata which confirms the successful installation of Suricata on Parrot OS.\" class=\"wp-image-114\" width=\"841\" height=\"726\" srcset=\"https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/last.png 615w, https:\/\/kosokoking.com\/wp-content\/uploads\/2023\/02\/last-300x259.png 300w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The ultimate solution to installing Suricata on Parrot OS: Don&#8217;t waste time like I did. Follow these easy steps and get it done!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6],"tags":[50,51,57,42,53,52,56,55,54,49],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-security","category-technology","tag-add-apt-repository","tag-cybersecurity","tag-kali-linux","tag-linux","tag-linux-mint","tag-network-security","tag-parrot-os","tag-raspberrypi","tag-software-properties-common","tag-suricata"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":2,"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":116,"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions\/116"}],"wp:attachment":[{"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kosokoking.com\/index.php\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}