Fully uninstall avast from my macs

I uninstalled avast from my imac and MacBook pro I still have Avast directories that can’t be installed because they say they are needed by the MacOS.
How to I completely remove Avast? I don’t like these hooked files to my OS on my mac

they are located/Library/SystemMigration/History/Migration-4B506A19-54EF-448A-B2C8-4FCC32A137C2/QuarantineRoot/Library/StagedExtensions/Library/Application Support/Avast

Think I figured it out, although avast uninstaller should have removed it all from a mac… its not microsoft windows.
have to cmd r then terminal, then scrutil disable, restart, trash folders, restart cmd r, terminal, csrutil enable restart cmd r to check csrutil status… restart.

But… like I said… avast should have removed it all with its uninstall app. I was going to subscribe to full software… but now I am going to sophos.

Great that you have resolved it by yourself!
Just for a record - the /Library/SystemMigration/ folder is created by macosx itself. Avast’s uninstaller removes only the directories that were created by the Avast AV. More about the SystemMigration at https://forums.developer.apple.com/thread/18780