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'm trying to install the gdebi.deb package on my computer. I need to do it manually through the terminal, but I have tried the sudo install -I package.deb but says it doesn't work because it's not a directory or something. Then I did cd /home/user/downloads/package.deb and when it changed directories I did sudo install -I package.deb but the same thing came up. I've already downloaded gdebi.deb in my downloads but need to install it through the terminal.

share|improve this question
up vote 2 down vote accepted

Please cd to the folder containing the .deb file and use sudo dpkg -i gdebi.deb. See the man page on dpkg for more info. If you require any more help, I'll assist further.

share|improve this answer
okay thank you so much! I had to change the directory to /downloads and then use the sudo dpkg and it seemed to work but it said errors were encounterd so not sure what that means – Lyman Frandsen Jul 16 '12 at 20:06
This is the usual way to manually install packages; however, can you specify what warnings or errors were encountered? Often, they can be minor: in dpkg language, 'W: ...' means warnings and 'E: ...' means errors. – user76204 Jul 16 '12 at 20:20
If you enter in the terminal, tail -n 30 /var/log/dpkg.log it should say 'status installed <package>' if it has been successful. – user76204 Jul 16 '12 at 20:25
please do a dependency fix operation by typing sudo apt-get -f install. – Kaktarua Jul 16 '12 at 20:35

"sudo install" isn't an appropriate command to achieve what you want.This, however, is: sudo dpkg -i package.deb

share|improve this answer
Always use dpkg to install off-line package. – Kaktarua Jul 16 '12 at 20:37

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.