Installing Debian Packages

From ITwiki

Revision as of 09:56, 14 June 2012 by Apatnaik (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Notes and Requirements

  • .deb is the extension of the Debian software package format and is used for binary packages.
  • There are multiple other ways to install Debian Packages.
  • This tutorial is done for Ubuntu. A slight variation should be used for other Linux distributions if these instructions don't work.
  • You must be using a Linux machine and must have the Debian file (with extension .deb) already downloaded.

Instructions For the Terminal

  • Change the directory to the one that the Debian file is currently in:
$ cd /Directory_Name

(replace Directory_Name with the name of the directory where the file is stored)

  • Open the terminal (ctrl + alt + t) and type the following command:
$ sudo dpkg -i file_name.deb

(replace file_name with the name of the file that you would like to install)

  • Follow the instructions that the terminal displays for installation and you are done!

Alternate Instructions for the Ubuntu Software Center

These instructions are to be used for Ubuntu only!

  • Click the dash home.
  • Type Software Center into the search.
  • Open the Ubuntu Software Center.
  • Search for the application that you would like to download.
  • Click the install button.
  • Ubuntu will take care of the rest for you and you are done!
Personal tools