Enable debug mode and maximum error reporting in Joomla global configuration. Once done re-try to install something and see if the error exposes further so you can see what exactly is erroring. Once done provide the error here (do not provide debug log info at bottom of page, just provide any errors you see).