简体   繁体   中英

root permission during installation using apt -get in ubuntu14

when I am trying to install giggle using command

apt-get install giggle

i got an error message

sudhanshu@Jai-Hind:~/Shaan/Edu/web Spider$ apt-get install giggle
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?

anyone have any idea how to overcome this problem , I am new to linux

You should use

  sudo apt-get install giggle

It will ask your user password if you are in sudoers list. If you are not, should su to root and run it.

Thanks Guys for help , It works

Yes we need to give admin permission

sudo apt-get install giggle

sudo as prefix work for same thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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