Follow
Ubuntu Linux

How to Install ClamAV Linux Antivirus on Ubuntu Linux

Richard
Written by
Richard
Jun 8, 2018 Updated Apr 18, 2026 2 min read
How to Use Sticky Notes in Windows 11
How to Use Sticky Notes in Windows 11

This guide explains how to install ClamAV on Ubuntu. ClamAV is a free tool used to find and remove viruses, trojans, and other harmful software.

⚡ Quick Answer

Open your Ubuntu terminal and run ‘sudo apt install clamav clamav-daemon’. After installation, you can scan files using ‘clamscan –infected –remove –recursive /home’ or install the GUI with ‘sudo apt install clamtk’.

Why use ClamAV?

While Linux is very secure, it is not perfect. Malware can still find ways onto your computer. Using ClamAV adds an extra layer of protection to keep your files safe.

What happens when done?

Once finished, you will have a powerful tool that can scan your folders or your entire system for threats. You will also have an easy-to-use visual interface to manage your security.

To begin, open your terminal by pressing Ctrl+Alt+T on your keyboard.

Note: The following steps require admin privileges. You may be asked to type your computer password.

First, update your system and install the software by running the command below:

🐧Bash / Shell
sudo apt install clamav clamav-daemon

ClamAV is now installed. You can use the terminal to scan your files. Try scanning your home folder with this command:

💻Code
clamscan --infected --remove --recursive /home

The system will show you a summary after the scan is finished:

💻Code
----------- SCAN SUMMARY -----------
Known viruses: 6541075
Engine version: 0.99.4
Scanned directories: 136
Scanned files: 401
Infected files: 0
Data scanned: 63.20 MB
Data read: 43.88 MB (ratio 1.44:1)
Time: 23.938 sec (0 m 23 s)

To scan your entire computer for infected files, run this command:

🐧Bash / Shell
sudo clamscan --infected --remove --recursive /

If you prefer using a mouse instead of typing commands, you can install the graphical interface (GUI) version:

🐧Bash / Shell
sudo apt install clamtk

After the installation is complete, search for ClamTk in your app menu. Open it to start using your new antivirus software.

ClamAV Ubuntu install
clamav ubuntu install

That is all there is to it!

Summary

ClamAV is a reliable, open-source tool for Ubuntu users. By following these steps, you have installed the core engine, learned how to run scans via the terminal, and set up a user-friendly interface to protect your system from digital threats.

You may also like the post below:

%📂%LNK0%%

Frequently Asked Questions

%📂%LNK1%%









Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Install Additional Software on Ubuntu
Ubuntu Linux How to Install Additional Software on Ubuntu
How to Install GNOME Desktop on Ubuntu 24.04
Ubuntu Linux How to Install GNOME Desktop on Ubuntu 24.04
How to Install KDE Desktop on Ubuntu 24.04
Ubuntu Linux How to Install KDE Desktop on Ubuntu 24.04

0 Comments

  • le meilleur antivirus c’est linux sans rien pour l’amateur que je suis .10 ans de linux sans rien .par contre eviter “avast home linux” qui une fois installé est dur a désinstaller(fait le boulot mais ralentit le p c).le mieusx c’est clamav ou clamtk a installer avec la logithèque ou le gestionnaire de paquets synaptic.amitiés.

    Reply
  • Mary Serum

    Where should my files be located so I can successfully install. I continue to have unsuccessfull installation.

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *