I was upgarding clamav on a linux server , but for an error I installed another version...
so now I have 2 clamav versions installed on my server

/usr/sbin/clamd
/etc/clamd.conf

and

/usr/local/sbin/clamd
/usr/local/etc/clamd.conf

How to remove fully the 2th version I installed for error ?

/usr/local/sbin/clamd
/usr/local/etc/clamd.conf

And how to upgrade with latest version over
/usr/sbin/clamd
/etc/clamd.conf

?

Thank you !