Added sudo privileges since stderr: dpkg: error: requested operation requires superuser privilege