could not open extension control file "/usr/share/postgresql/10/extension/postgis code example
Example: ERROR: could not open extension control file "/usr/share/postgresql/10/extension/postgis.control": No such file or directory
sudo apt install postgis postgresql-xx-postgis-x