Monday, 13 February 2012

How do I install .deb packages?

Maybe it's too late for me to make this post. But, I just wanna share and make me to not forget this way because sometimes I still forget this little way.

Okay, for the first time, I want to let you know about .deb packages file format. Like what I retold from Wikipedia.


.deb File Format
from Wikipedia, the free Encyclopedia




deb is the extension of the Debian software package format and the most often used name for such binary packages. Like the "Deb" part of the term Debian, it originates from the name of Debra, erstwhile girlfriend and now ex-wife of Debian's founder Ian Murdock.

Debian packages are also used in distributions based on Debian, such as Ubuntu and others.
Debian packages are standard Unix ar archives that include two tar archives optionally compressed with gzip (zlib), Bzip2, lzma, or xz (lzma2): one archive holds the control information and another contains the program data.

The accepted program for handling these packages is dpkg, most commonly via other programs such as apt/aptitude or Gdebi.

Debian packages can be converted into other packages and vice versa using alien, and created from source code using CheckInstall or Debian Package Maker.

Some core Debian packages are available as udebs (“micro debs”), and are typically used only for bootstrapping a Debian installation. Although these files use the udeb filename extension, they adhere to the same structure specification as ordinary deb files. However, unlike their deb counterparts, udeb packages contain only essential functional files.[1] In particular, documentation files are normally omitted. udeb packages are not installable on a standard Debian system.





Well, now is time to show you how to install the .deb packages.
  1. Prepare your .deb package. If it requires you to download the file first, then download the file first.
  2. Open your Terminal.
  3. Go to directory where .deb package kept. For example if it in /home/Username/Downloads
    $ cd /home/Username/Downloads
  4. Then type this command :
    $ sudo dpkg -i package_name.deb

0 comments:

Post a Comment