Use gdebi to handle dependencies correctly.