LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2020, 08:42 PM   #1
kstatinet
LQ Newbie
 
Registered: Jul 2020
Posts: 9

Rep: Reputation: Disabled
Snort in Kali Linux - how to remove older version?


disclaimer: new to Linux and snort.
i just installed newer version of Snort on Kali linux running in VMWare Pro. However, the older version seems to be still installed.
As per below. How do i remove ver 2.9.2.2 ?

kaliboris@kalibib:~$ snort --version

,,_ -*> Snort! <*-
o" )~ Version 2.9.2.2 IPv6 GRE (Build 121)
'''' By Martin Roesch & The Snort Team: http://www.snort.org/snort/snort-team
Copyright (C) 1998-2012 Sourcefire, Inc., et al.
Using libpcap version 1.9.1 (with TPACKET_V3)
Using PCRE version: 8.39 2016-06-14
Using ZLIB version: 1.2.11

root@kalibib:~# snort --version

,,_ -*> Snort! <*-
o" )~ Version 2.9.16 GRE (Build 118)
'''' By Martin Roesch & The Snort Team: http://www.snort.org/contact#team
Copyright (C) 2014-2020 Cisco and/or its affiliates. All rights reserved.
Copyright (C) 1998-2013 Sourcefire, Inc., et al.
Using libpcap version 1.9.1 (with TPACKET_V3)
Using PCRE version: 8.39 2016-06-14
Using ZLIB version: 1.2.11

In addition after upgrade, when I ran either of the versions, I get

" WARNING: No preprocessors configured for policy" message
How do I remove the old preprocessors in defined
preprocessor directory?
Exact instructions would be appreciated. Thank you!
 
Old 07-12-2020, 01:29 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,110
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Kali based on Debian testing should be able to apt remove purge commands.

Just make sure you type out the whole version number maybe. I don't know as I don't run Kali.

dpkg -l should have something to say also.

Ubuntu community usually comes back with the most hits when searching

link

Lastly. I am surprised that Kali does not come synaptic package manager and the OP seems clueless about that feature also, running a penetration testing distro fulltime.

https://www.interfacett.com/blogs/in...in-kali-linux/

Last edited by rokytnji; 07-12-2020 at 01:34 PM.
 
2 members found this post helpful.
Old 07-12-2020, 01:56 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by kstatinet View Post
disclaimer: new to Linux and snort.
i just installed newer version of Snort on Kali linux running in VMWare Pro.
The removal method depends on the installation method. How did you install both versions?
 
1 members found this post helpful.
Old 07-12-2020, 02:10 PM   #4
kstatinet
LQ Newbie
 
Registered: Jul 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
Kali based on Debian testing should be able to apt remove purge commands.

Lastly. I am surprised that Kali does not come synaptic package manager and the OP seems clueless about that feature also, running a penetration testing distro fulltime.

https://www.interfacett.com/blogs/in...in-kali-linux/
Well, running Kali Linux was not my choice, but a requirement for the cyber security class :-). The project that I chose was snort
 
Old 07-12-2020, 02:16 PM   #5
kstatinet
LQ Newbie
 
Registered: Jul 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
The removal method depends on the installation method. How did you install both versions?
Hi, Bernard.

I installed the latest version from source. Followed install instructions at https://upcloud.com/community/tutori...ort-on-debian/

The older version, I installed about 2 months ago and didn't touch it since. I don't remember much from that install. I believe I had to add old repos to conf the file (I removed them since then) in order to install snort.
 
Old 07-12-2020, 02:18 PM   #6
kstatinet
LQ Newbie
 
Registered: Jul 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Please ignore my additional question about preprocessors warning. I figured it out.
 
Old 07-12-2020, 02:22 PM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by kstatinet View Post
Hi, Bernard.

I installed the latest version from source. Followed install instructions at https://upcloud.com/community/tutori...ort-on-debian/

The older version, I installed about 2 months ago and didn't touch it since. I don't remember much from that install. I believe I had to add old repos to conf the file (I removed them since then) in order to install snort.
If you don't know how you installed the old version, I can't help you deinstalling it. Although it looks like you used APT, so apt purge snort should do the trick.

EDIT: Why is it a problem to have two versions? Just keep both.

Last edited by berndbausch; 07-12-2020 at 02:30 PM.
 
1 members found this post helpful.
Old 07-12-2020, 02:35 PM   #8
kstatinet
LQ Newbie
 
Registered: Jul 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
Kali based on Debian testing should be able to apt remove purge commands.

https://www.interfacett.com/blogs/in...in-kali-linux/
Thank you! Synaptic was a breeze.
kaliboris@kalibib:~$ snort --version

,,_ -*> Snort! <*-
o" )~ Version 2.9.16 GRE (Build 118)
'''' By Martin Roesch & The Snort Team: http://www.snort.org/contact#team
Copyright (C) 2014-2020 Cisco and/or its affiliates. All rights reserved.
Copyright (C) 1998-2013 Sourcefire, Inc., et al.
Using libpcap version 1.9.1 (with TPACKET_V3)
Using PCRE version: 8.39 2016-06-14
Using ZLIB version: 1.2.11

wasn't sure if the following versions (same as latest versions)
libdaq vers 0.6.2-2
libprelude ver 1.0.0-9
oinkmaster ver 2.0-4
needed to be uninstalled as well.. so i left them there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Kali Linux look like Parrot OS (Configuring how Kali Linux looks) John1243 Linux - Distributions 1 03-21-2016 02:48 AM
LXer: Migrating from Kali Linux 2 to Kali Linux 2016.1 LXer Syndicated Linux News 0 02-01-2016 07:50 AM
Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg aymeric75 Linux - General 2 07-11-2015 05:10 AM
Need to match older machine to an older version of Linux fredb47 Linux - Distributions 10 10-27-2011 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration