php api for apt package manager in debian and ubuntu linux