You can remove Yahoo search from Safari by installing TotalAV antivirus software and running a system scan to locate and remove unwanted programs.