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

Possible Duplicate:
Can you install a .deb file via the command line?

I have packages that I have downloaded from the internet and for some reason they won't install inside of ubuntu software center. My question is what command is there for you to install a package inside of terminal. I have already downloaded the packages and I need and I just need the command that will install the package, not apt-get.

share|improve this question

marked as duplicate by Rinzwind, karthick87, Egil, Marco Ceppi May 24 '11 at 12:00

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.

To vague... it really depends on what type of installation is required for that package (but all of them will already have been asked on AU. DEB is normal Ubuntu. Example:… – Rinzwind May 22 '11 at 15:36
@Sam-Mercier: If the package does not install from Ubuntu software center then you may not be able to install it from terminal either. Try to figure out why the package is not installing. One reason may be that your system architecture different than one the package is built for. – binW May 23 '11 at 8:35
up vote 3 down vote accepted

Use dpkg - package manager for Debian.

dpkg -i yourpackage.deb to install a package.

share|improve this answer
Okay. That sounds about right. I had already tried that command, but I think I forgot the .deb. – Sam Mercier May 22 '11 at 15:39
Make sure to use the full file name, not only the package name. – Adam Byrtek May 22 '11 at 16:35

Navigate to the folder containing the package

cd Desktop/System\ Files/

Type ls to get a list of files in the current directory to be sure you're in the right place

Then dpkg -i PotatoKiller3000.deb to install.

share|improve this answer

Or if you are a gui guy install gdebi and make deb packages open with gdebi.

share|improve this answer

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