3

Actually I'm beginner at Ubuntu. Please help me to install VLC, Office and so many software. When I clicked install in Ubuntu software, then it was showing waiting for install.

When i opened terminal and trying there, then it was showing me some messages:

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?

Sometimes it shows:

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

What is root? Need I go to root? Or how could I install all software successfully?

Melebius
  • 11,431
  • 9
  • 52
  • 78

1 Answers1

1

With the Error Above.

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?

It means you don't have root/administrative permissions to install software's.

To install a software like VLC from the terminal. You can issue the following command with sudo

sudo apt-get install vlc

And it will then prompt you for your password.

so always use sudo.

and you can also read more about sudo command, by typing in your terminal.

man sudo
Hizqeel
  • 1,895
Phexcom
  • 26