- Linux Mint Forums
- ClamAV upgrade?
- Re: ClamAV upgrade?
- Re: ClamAV upgrade?
- Re: ClamAV upgrade?
- Re: ClamAV upgrade?
- How to Install ClamAV on Linux Mint 21
- Installing ClamAV CLI on Linux Mint 21
- Scanning Files and Directories Using ClamAV CLI
- Installing ClamAV GUI on Linux Mint 21
- Conclusion
- About the author
- Aaliyan Javaid
Linux Mint Forums
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
ClamAV upgrade?
Post by somebody1 » Sun Aug 17, 2014 9:31 am
I work with Mint 13 Cinnamon. I have installed «ClamAV 0.98.1» via «Synaptic-Package Manager», this was the only version that was available. ClamTK tells me that me version is outdated. The new version is 0.98.4 but I’m a noob and I have no idea how to install it, I’m not confident enough to use the how-to’s to upgrade ClamAV, I’ve downloadad «clamav-0.98.4.tar.gz» but I have no idea what to do with it.
At the same time ClamTK tells me that the «AntiVirus definition» is up to date.
My questions are:
1) Is it necessary to upgrade? Or is my old version still okay if ClamTK says that the «antivirus definitions» are up to date?
2) If there will be an easy upgrade available, will it appear in the «synaptic package-manager»? Or will I still have to do everything manually with inserting code into the terminal etc?
3) And one last somewhat unrelated question. If I have some important business to attend to and I boot from a LiveCD (let’s say Mint17 or Precise Puppy) would it be safe even if my Mint13 is infected?
Re: ClamAV upgrade?
Post by PatH57 » Sun Aug 17, 2014 9:47 am
1) Is it necessary to upgrade? Or is my old version still okay if ClamTK says that the «antivirus definitions» are up to date?
not really the changes are minor, if a real issue would be there you would get an updated engine from the ubuntu repo
As soon as the newer engine has been tested and packaged for Ubuntu/Mint it will be available through your normal MintUpdate.
Re: ClamAV upgrade?
Post by Ineedhelpplease » Mon Sep 01, 2014 11:09 pm
I just saw this post. I have Mint 17 XFCE 14.04.1 currently with Clamav 0.98.1 and ClamTK 5.09. As of this post there has been no change to the Software Update Center for Mint regarding any update/upgrade for Clam AV. Clamav 0.98.4 was released on or about 16th of Jun 14′. So, how long is this going to take before version 0.98.4 will be made available?
I also have Xubuntu 14.04.1 XFCE and version 0.98.4 is already available in the Ubuntu Software Center. And, I have already upgraded Clamav.
Re: ClamAV upgrade?
Post by PatH57 » Tue Sep 02, 2014 3:23 am
Re: ClamAV upgrade?
Post by nomko » Tue Sep 02, 2014 5:27 am
Again PatH57, please check your sources before advising anything.
The clamav PPA is only valid for Ubuntu 10.04 Lucid Lynx!!
Check here the overview of packages:
https://launchpad.net/~ubuntu-clamav/+a . ubuntu/ppa
@ Ineedhelpplease:
Do not add this PPA to your Mint 17 setup since the PPA is not meant for Mint 17!! If you do so, you will recieve error message while updating your repository. Mint 17 is based on Ubuntu 14.04 while Ubuntu 10.04 is the package-base for Linux Mint 9 which is absolete since April 2013. The ex-planation of how to add the PPA link in that page of askubuntu.com is therefor not valid for Mint 17!
The only command you could try, which is meantioned in on the page of askubuntu, is the following terminal command:
I would also recommend you, and others as well, to go to the application website first before jumping to any help sites which might contain outdated or not applicable information. The application website for ClamAV is: http://www.clamav.net/. There you can also find out how to update your ClamAV version. Info can be found here: http://www.clamav.net/documentation.html.
Some answers to your questions:
1) Is it necessary to upgrade? Or is my old version still okay if ClamTK says that the «antivirus definitions» are up to date?
First of all, why do you think you need anti-virus on a Linux system? Normally (no offence) this is a «standard» reaction/question of Windows refugee who thinks they must have anti-virus protection of their Linux system. I’ve made some checklist when such tool is required: http://forums.linuxmint.com/viewtopic.p . 40#p884536.
I’m not saying that there isn’t any Linux viruses to be found «in the wild», the change of getting infected by a Linux virus is rather small. in fact, you can neglect this change. In other words, the change of getting hit by a meteorite is much higher.
2) If there will be an easy upgrade available, will it appear in the «synaptic package-manager»? Or will I still have to do everything manually with inserting code into the terminal etc?
ClamAV makes part of the standard repository. Normally, any package available in the standard repository which has to be updated, will get these updates through the Update Manager. Since i’m not using ClamAV at all i’m not sure if ClamAV gets its updates through the Update Manager. But try that terminal command first and see what happens.
3) And one last somewhat unrelated question. If I have some important business to attend to and I boot from a LiveCD (let’s say Mint17 or Precise Puppy) would it be safe even if my Mint13 is infected?
Infected with what?? Again, (and no offence) this is a standard reaction of a Windows refugee (which i hope you’re not ). 99.9% of all malicious software is written for Windows. Since the architecture of Linux differs from Wndows, any malicious software meant for Windows cannot infect Linux! So, again my question: what kind of infection do you expect to get.
And no, a LiveCD cannot be infected or overwritten by anything when you burned the iso on a dvd.
How to Install ClamAV on Linux Mint 21
Clamav is a command-line tool that scans files and directories for viruses, Trojan horses, and other malicious software. ClamAV is also capable of scanning emails and other types of files, making it a versatile and powerful tool for protecting your system from malware. Since this anti-virus application is command line but there is a GUI application for it as well so read this guide to know how to get it on Linux Mint 21.
Installing ClamAV CLI on Linux Mint 21
ClamAV is based on a multi-threaded scanning engine that can quickly scan large files and directories so to get it on Linux Mint just use:
Once the antivirus is installed check its version to see if it is installed correctly and for that purpose execute:
Scanning Files and Directories Using ClamAV CLI
ClamAV uses a combination of signature-based detection and heuristic analysis to identify and remove malware and therefore it is preferred by many Linux users so to scan any directory using ClamAV CLI below is the syntax that should be followed:
For further illustration I have scanned my Downloads directory of Linux Mint by using the above-mentioned syntax:
If you want to just see the infected files only then just use the –infected command by using the above-mentioned syntax:
If you want to remove the infected files automatically then just use the –remove command by using the above-mentioned syntax, but remember that if the antivirus feels any suspicious file, it will also remove it so be careful before using this command:
Further if you want to scan any file for viruses then just follow the given below syntax:
For further illustration I have scanned a zip in the Downloads directory of Linux Mint by using the above-mentioned syntax:
Now to remove this application from Linux Mint 21 then execute the below-mentioned command in case you installed it through apt:
Installing ClamAV GUI on Linux Mint 21
One of the key advantages of ClamAV is its open-source nature, which allows users to inspect the source code and make modifications as needed so if you are more comfortable in using the GUI of Linux Mint then install its GUI version by executing:
Next the run the application through Linux Mint terminal:
To scan any file or directory just click on Scan a directory and from the pop-up select the respective directory or file and afterwards click on OK:
Once the file or directory is scanned the complete statistics like number of files scanned and number of possible threats will be displayed; next click on the close button once the scan is completed:
Now to remove this application from Linux Mint if you are no longer to use it then execute the below command in case you installed it through apt:
Conclusion
ClamAV is a powerful and flexible antivirus software that is well-suited for use on mail and web servers, as well as for individual computers. This guide gives the complete guide on how to install both the CLI and GUI version of ClamAV on Linux Mint and how to scan files or directories through it.
About the author
Aaliyan Javaid
I am an electrical engineer and a technical blogger. My keen interest in embedded systems has led me to write and share my knowledge about them.