1

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 should I use 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.

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
4

Use dpkg - package manager for Debian.

dpkg -i yourpackage.deb to install a package.

  • 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
2

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.

1

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

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