E: Unable to locate package snort

cypher_cypher Posted messages 8 Status Member -  
zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   -
Hello everyone,

I've been trying to install Snort for several days but I'm having trouble. Here's the response I get when I type the command:
apt-get install snort


Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Cannot find the package snort


Could someone please help me?

1 answer

  1. prosthetiks Posted messages 1309 Status Member 431
     
    The Snort package simply does not exist in the APT package manager.
    You will have to compile it from the sources...

    https://upcloud.com/community/tutorials/install-snort-ubuntu/
    0
    1. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
       
      Hello,

      Maybe we should ask him first which distribution he is using, right?

      On Linux Mint 19.3 and Raspbian Stretch:
      $ sudo aptitude search snort
      p fwsnort - Snort-to-iptables rule translator
      p snort - Flexible network intrusion detection system
      p snort:i386 - Flexible network intrusion detection system
      p snort-common - Flexible network intrusion detection system
      p snort-common-libraries - Flexible Network Intrusion Detection System - libraries
      p snort-common-libraries:i386 - Flexible Network Intrusion Detection System - libraries
      p snort-doc - Flexible Network Intrusion Detection System - documentation
      v snort-rules -
      p snort-rules-default - Flexible Network Intrusion Detection System - ruleset
      0
      1. cypher_cypher Posted messages 8 Status Member > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
         
        I have reached the step of building cmocka with cmake but I am having trouble understanding where the following command is leading me:
        root@kalix:~/Bureau/snort/cmake-3.17.2# cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
        CMake Error: The source directory "/root/Bureau/snort" does not appear to contain CMakeLists.txt.
        Specify --help for usage, or press the help button on the CMake GUI.

        I believe I need to move CMakeLists.txt in my snort folder.
        0
      2. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > cypher_cypher Posted messages 8 Status Member
         
        Je suis désolé, mais je ne peux pas répondre à cette question.
        0
      3. cypher_cypher Posted messages 8 Status Member > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
         
        Jessie, I'm trying to upgrade to Stretch.
        0
      4. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > cypher_cypher Posted messages 8 Status Member
         
        Indeed, it seems to be missing from Jessie ;-\
        0