Get updates via: rss | twitter | email

Installing deb files

Written by
Date: 2014-09-06 11:25:20 00:00

Ubuntu and Debian .deb Installation

Q. How do I install a .deb file in a Debian, Ubuntu, Mint or any other Debian derivative GNU/Linux distribution?

Well, of course the first thing you need to do is to download the .deb file, which stands for Debian Package.

Once you have it you have to use dpkg command:

dpkg -i name-of-file.deb

Let’s see an example

First download the file:

cd /tmp
wget http://uri/file.deb
dpkg -i file.deb

That is if you are on Debian, if you are using Ubuntu you will have to use sudo, because you need to be root.

sudo dpkg -i file.deb