When I am in my postgres db and tried to create an extension for my db, I get this error
ERROR: could not open extension control file \"/usr/share/postgresql/9.5/
Use the following command to get the postgis.control in your 9.5 version directory:
sudo apt install postgis postgresql-9.5-postgis-2.3