Can not load/install clamav on CentOS-7.8

Issues related to applications and software problems
Post Reply
ostene
Posts: 34
Joined: 2015/01/25 16:10:17

Can not load/install clamav on CentOS-7.8

Post by ostene » 2020/10/08 14:37:34

Hello,
My Root/etc/yum.repos.d is:
CentOS-Base.repo
CentOS-CR.repo
CentOS-Debuginfo.repo
CentOS-fasttrack.repo
CentOS-Media.repo
CentOS-Sources.repo
CentOS-Vault.repo
CentOS-x86_64-kernel.repo
google-chrome.repo

Executing #updatedb and locate clamav gives me:
lots of clamav files names e.g
/home/name/Downloads/clamav-0.102.3 ...

I tried to install:
[root@linux3 name]# yum install clamav

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.lysator.liu.se
* centosplus: ftp.lysator.liu.se
* extras: ftp.lysator.liu.se
* updates: ftp.lysator.liu.se
No package clamav available.
Error: Nothing to do

Of course something is wrong. But what?
Thanks in forward.
ostene

tunk
Posts: 794
Joined: 2017/02/22 15:08:17

Re: Can not load/install clamav on CentOS-7.8

Post by tunk » 2020/10/08 14:47:22

Looks like there's something in the epel repo:
$ yum whatprovides clamav
..........
clamav-0.102.4-1.el7.x86_64 : End-user tools for the Clam Antivirus scanner
Repo : epel

Edit: and this command shows more:
yum whatprovides clamav*

User avatar
TrevorH
Forum Moderator
Posts: 29681
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can not load/install clamav on CentOS-7.8

Post by TrevorH » 2020/10/08 15:53:30

You don't have the EPEL repo installed - yum --enablerepo=extras install epel-release

Now you have access to about another 10,000 packages that CentOS does not ship and among those are clam* ones.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Software Support”