简体   繁体   English

由于权限被拒绝,无法在 ubuntu 中下载软件

[英]unable to download a software in ubuntu due to permission denied

cpp@pachoriya:~$ apt-get install pitivi
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

unable to download a software due to permission denied.由于权限被拒绝,无法下载软件。 How can i install this package?我怎样才能安装这个包?

Installing a software package needs root priviliges.安装软件包需要 root 权限。 Use sudo使用sudo

sudo apt-get install pitivi

or switch to root user using sudo -s , then install the packages.或者使用sudo -s切换到 root 用户,然后安装软件包。

Related read: https://askubuntu.com/questions/168280/how-do-i-grant-sudo-privileges-to-an-existing-user相关阅读: https : //askubuntu.com/questions/168280/how-do-i-grant-sudo-privileges-to-an-existing-user

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM