Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
@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
add comment

3 Answers 3

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. –  AthloX Jul 29 '12 at 3:54
    
terminal is the fast way ,so i have suggest that . –  AgentCool Jul 29 '12 at 3:58
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.