Read about OpenEMR's Response to the COVID-19 Pandemic at https://www.open-emr.org/covid19/

Openemr ubuntu installation

how i fix this error (Fatal error : Cannot declare class Cpdf, because the name is already in use in /opt/lampp/lib/php/Cpdf.php on line 19)

How are you trying to install OpenEMR. Maybe give docker a try: