Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
zarjazc@PL998794-VPCEL22FX:~$ apt-get install gimp
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?

That's what I get when I try to install gimp 2.8 from the website using the terminal code. The software center only has the 2.6 version

share|improve this question

marked as duplicate by dobey, ændrük, Seth, guntbert, Warren Hill Oct 11 '13 at 6:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

duplicated – Braiam Oct 10 '13 at 17:57
thank you everyone – Zarjazc Oct 10 '13 at 18:30
Please, if someone answer solved your problem, mark it as accepted. – Braiam Oct 10 '13 at 18:31

The error that are you getting is because that you have have another package handler or synaptic open, and the other one, because you're not using sudo.

To install Gimp 2.8 in Ubuntu 12.04, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp
share|improve this answer
Not the latest. I don't think – Mitch Oct 10 '13 at 17:48
Umm... raring has 2.8 already. Precise don't, so fair enough. – Braiam Oct 10 '13 at 17:54

Installing software requires escalated privileges. sudo apt-get install gimp

share|improve this answer
-f or --fix-broken don't install the dependencies. apt-get install alone should do that. – Braiam Oct 10 '13 at 17:45
Also, in precise GIMP is version 2.6 while OP wants's 2.8. – Braiam Oct 10 '13 at 18:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.