Follow clamav-macos.md for macOS, don't forget the replacing USERNAME with actual username (or change the path if necessary).
Run below command to install and configure ClamAV on Ubuntu. (Tested on Ubuntu 22.04.4 LTS)
bash clamav-ubuntu-configurator.sh