LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-17-2010, 07:22 AM   #1
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Rep: Reputation: 15
Install Snort via Yum


I'm on CentOS 5.5 on one of my servers, and I'm trying to install Snort via yum. 'yum install snort' doesn't work, doesn't find anything. Do I need to add a repository or something?
 
Old 05-17-2010, 11:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Should be in the RPMForge or EPEL repo. Might be in other repos but these are marked as the most stable ones.
 
Old 05-17-2010, 12:00 PM   #3
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Those are with CentOS by default. No luck.
 
Old 05-17-2010, 12:14 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by athomas View Post
Those are with CentOS by default.
No they most definitely are not ('find /etc/yum.repos.d/ -type f | xargs -iX rpm --qf="%{NAME}: %{VENDOR}\n" -qf 'X';').


Quote:
Originally Posted by athomas View Post
No luck.
Code:
]# yum --enablerepo=epel search snort
snort.i386 : An open source Network Intrusion Detection System (NIDS)
So it's in EPEL.
 
Old 05-17-2010, 12:17 PM   #5
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
I get this:

Code:
Error getting repository data for epel, repository not found
 
Old 05-17-2010, 12:23 PM   #6
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Installed EPEL, snort is still not found.

Code:
root@bfhserver04 [~]# wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
--2010-05-17 13:20:16--  http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
Resolving download.fedora.redhat.com... 209.132.183.67
Connecting to download.fedora.redhat.com|209.132.183.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11989 (12K) [application/x-rpm]
Saving to: `epel-release-5-3.noarch.rpm'

100%[======================================>] 11,989      --.-K/s   in 0.1s    

2010-05-17 13:20:16 (121 KB/s) - `epel-release-5-3.noarch.rpm' saved [11989/11989]

root@bfhserver04 [~]# rpm -Uvh epel-release-5-3.noarch.rpm 
warning: epel-release-5-3.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
root@bfhserver04 [~]# yum install snort
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: yum.singlehop.com
 * base: mirror.team-cymru.org
 * contrib: dist1.800hosting.com
 * epel: mirrors.tummy.com
 * extras: yum.singlehop.com
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: mirror.raystedman.net
epel                                                     | 3.4 kB     00:00     
epel/primary_db                                          | 2.6 MB     00:00     
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package snort available.
Nothing to do
root@bfhserver04 [~]#
 
Old 05-17-2010, 04:56 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Uh. My mistake. Check out the Atomic Rocket Turtle (ART) repo (but always check out http://wiki.centos.org/AdditionalResources/Repositories first!) or D/L snort-2.8.6-1.RH5.i386.rpm (current for 2010/05/17) from the Snort website.
 
  


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
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
yum install PHP: yum tries to install duplicate httpd beebopbogo Linux - Software 1 05-26-2009 02:08 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
snort install kapslock Debian 3 08-23-2004 11:50 AM
how to install SNORT on RH 7.2?? StamfordRob Linux - Newbie 5 03-25-2002 03:34 PM

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

All times are GMT -5. The time now is 08:12 PM.

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