• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install ClamTK in CentOS

{{postValue.id}}

To Install ClamTK in CentOS

ClamTK is a free Linux based antivirus used to detect virus, trojan, malware and other threats. It is widely used as a server-side email virus scanner. The ClamTK is designed with the advanced features including, command-line scanner, automatic database update and a multi-threaded daemon. Installation of ClamTK in CentOS is explained in this article.

Installation of ClamTK

Dependency packages are required to install ClamTK. First install Curl package with the following command.

[root@linuxhelp Desktop]# yum install curl
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
.
.
.
Updated:
  curl.x86_64 0:7.19.7-52.el6                                                                                              
Dependency Updated:
  libcurl.x86_64 0:7.19.7-52.el6                                                                                           
Complete!


Then install the epel package.

[root@linuxhelp Desktop]# yum install epel-release
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
.
.
.
Installed:
  epel-release.noarch 0:6-8                                                                                                
Complete!


Now install the ClamAV package.

[root@linuxhelp Desktop]# yum install clamav clamd
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
.
.
.
Installed:
  clamav.x86_64 0:0.99.2-1.el6                                 clamd.x86_64 0:0.99.2-1.el6                                
Dependency Installed:
  clamav-db.x86_64 0:0.99.2-1.el6                                                                                          
Complete!


Start the Clamd service to enable the ClamAV package.

[root@linuxhelp Desktop]# service clamd start
Starting Clam AntiVirus Daemon: LibClamAV Warning: **************************************************
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***   Please update it as soon as possible.    ***
LibClamAV Warning: **************************************************
   [  OK  ]


Now its time to download the ClamTK installation package.

[root@linuxhelp Desktop]# wget https://bitbucket.org/dave_theunsub/clamtk/downloads/clamtk-5.24-1.el6.noarch.rpm
--2016-11-24 17:48:50--  https://bitbucket.org/dave_theunsub/clamtk/downloads/clamtk-5.24-1.el6.noarch.rpm
.
.
.
Saving to: “ clamtk-5.24-1.el6.noarch.rpm” 
100%[=================================================================================> ] 226,924     98.9K/s   in 2.2s    
2016-11-24 17:48:55 (98.9 KB/s) - “ clamtk-5.24-1.el6.noarch.rpm”  saved [226924/226924]


Once the ClamTK is downloaded, run the following command to install ClamTK.

[root@linuxhelp Desktop]# yum localinstall clamtk-5.24-1.el6.noarch.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Local Package Process
Examining clamtk-5.24-1.el6.noarch.rpm: clamtk-5.24-1.el6.noarch
Marking clamtk-5.24-1.el6.noarch.rpm to be installed
.
.
.
Installed:
  clamtk.noarch 0:5.24-1.el6                   
&hellip 
  perl-libs.x86_64 4:5.10.1-141.el6_7.1                       perl-version.x86_64 3:0.77-141.el6_7.1                       
Complete!


Update the antivirus signatures.

[root@linuxhelp Desktop]# freshclam
ClamAV update process started at Thu Nov 24 18:15:39 2016
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer)
.
.
.
Downloading bytecode-285.cdiff [100%]
bytecode.cld updated (version: 285, sigs: 57, f-level: 63, builder: bbaker)
Database updated (5134169 signatures) from db.in.clamav.net (IP: 193.1.193.64)


Restart the Clamd service to take effect.

[root@linuxhelp Desktop]# service clamd restart
Stopping Clam AntiVirus Daemon:                            [  OK  ]
Starting Clam AntiVirus Daemon:                            [  OK  ]


Utilize the following command to open the installed ClamTK to access.

[root@linuxhelp Desktop]# clamtk

ClamTK

Virus scanner settings

Virus scanner settings

Whitelist

Whitelist

Network settings

Network-settings

Schedule scanning and antivirus signature updates.

Schedule_updates

You can view the previous scan result.

Virus_scanner

Signature update settings

Virus_scanner

Here you need to select a directory to scan.

select_directory

Tags:
caden
Author: 

Comments ( 1 )

sand
I have followed the steps and installed. But when I am trying to open the display, it is showing error - [root@s1 ~]# clamtk Gtk-WARNING **: cannot open display: at /usr/lib64/perl5/vendor_perl/Gtk2.pm line 168. [root@s1 ~]# Can you please help me to solve this?
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How good is ClamTK ?

A

Many will state that *no* anti-virus type program is needed for Linux. I used the Mac OS X [Unix] for years and didn't have any such program on it.

Q

Should I use sudo on ClamTK?

A

Don't use sudo with ClamTk, that is. there is a problem If you like to update your antivirus signatures as an end user.

Q

What is clamscan?

A

clamscan is a command line anti-virus scanner.

Q

What OS are tested with ClamTk?

A

Typically, everything, ClamTK is developed on Fedora (latest release). Then, it's tested on Debian (stable), the latest Ubuntu, and CentOS. The .deb is built on Debian (stable) and the CentOS rpm and so on.

Q

What is ClamTK?

A

ClamTK is a free Linux based antivirus used to detect virus, trojan, malware and other threats. It is widely used as a server-side email virus scanner. The ClamTK is designed with the advanced features including, command-line scanner, automatic database update and a multi-threaded daemon.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.