2

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.

Zanna
  • 70,465
  • 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: http://askubuntu.com/questions/40779/can-you-install-a-deb-file-via-the-command-line – 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 08:35

3 Answers3

5

Use dpkg - package manager for Debian.

dpkg -i yourpackage.deb to install a package.

Egil
  • 14,162
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.

Synicade
  • 178
1

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

sagarchalise
  • 23,988