Uninstalling ClamAV » History » Version 1
Gareth Eaton, 07/23/2023 11:53 AM
1 | 1 | Gareth Eaton | h1. Uninstalling ClamAV |
---|---|---|---|
2 | |||
3 | Uninstalling ClamAV on Ubuntu: |
||
4 | |||
5 | Step 1: Stop ClamAV Services (if running) |
||
6 | |||
7 | <pre> |
||
8 | sudo systemctl stop clamav-daemon |
||
9 | sudo systemctl stop clamav-freshclam |
||
10 | </pre> |
||
11 | |||
12 | Step 2: Uninstall ClamAV and Related Packages |
||
13 | |||
14 | |||
15 | <pre> |
||
16 | sudo apt remove clamav clamav-daemon clamav-freshclam clamav-testfiles |
||
17 | </pre> |
||
18 | |||
19 | Step 3: Purge Configuration Files (Optional) |
||
20 | If you want to completely remove all configuration files associated with ClamAV, you can use the purge option: |
||
21 | |||
22 | |||
23 | <pre> |
||
24 | sudo apt purge clamav clamav-daemon clamav-freshclam clamav-testfiles |
||
25 | </pre> |
||
26 | |||
27 | Step 4: Remove Unused Dependencies (Optional) |
||
28 | |||
29 | |||
30 | <pre> |
||
31 | sudo apt autoremove |
||
32 | </pre> |