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.

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: askubuntu.com/questions/40779/… –  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
add comment

3 Answers 3

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

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

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

share|improve this answer
add comment

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