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

I also try to use the command prompt on the desktop directory, but it states permission denied. Who is denying permission? I am the only user on my computer.

share|improve this question
@msPeachy A .deb file is not an executable and cannot be run as one regardless of its permissions or the identity of the user trying to execute it. – Eliah Kagan Jul 29 '12 at 20:12

Open your terminal and type as

sudo dpkg -i filename.deb

in the filename you have to place the filename of your .deb file.

share|improve this answer
has got correct command. even you can right click the file and select open with software centre or synaptic package manager. – Amit Rane Jul 29 '12 at 3:54
terminal is the fast way ,so i have suggest that . – Raja Jul 29 '12 at 3:58

Open a terminal (by pressing CTLR+ALT+T) and then change to the directory where the .deb file is. Assuming that the .deb file is in the Downloads folder, type this:

cd Downloads

and then

sudo dpkg -i your_file_name.deb

If dpkg prompts you for something, just type Y (which stands for "yes"). After that, your package should have been installed correctly.

share|improve this answer

for .deb packages use dpkg -i filename

share|improve this answer
dpkg -i ... must be run as root (so it needs sudo). Furthermore, changing permissions on a .deb file does not make it executable (a .deb is not a program or script), and does not make it possible to install it without sudo. – Eliah Kagan Jul 29 '12 at 20:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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