0

Can someone walk me through getting gparted on my computer so that I can install a second hard drive. This is the error I get everytime I write in

$ apt-get install gparted.
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?
heemayl
  • 93,925

1 Answers1

-1

Like heemayl said, you need so run sudo apt-get install gparted so that you run the apt-get command as root (adding sudo before a command in default ubuntu tells the computer that you want to run the command as root.)

Root in Linux gives you unlimited access to your computer, meaning that you can ruin pretty much anything you want, so use it with care.