Install dependencies while using a *.deb package


PROBLEM:

Let us say that I have package named name.deb and I need to install it using the terminal.

But if I use 

sudo dpkg -i name.deb

then it will install the package only, but not the dependencies.

So, what should we do?

SOLUTION:

The solution is very simple.
We can use gdebi to install the package along with its dependencies.
To use gdebi we need to install the package gdebi-core

Open a terminal and type the following:


sudo apt-get install gdebi-core


Now you can install your package using the following command:


sudo gdebi name.deb

Popular posts from this blog

INSTALLING MOBILE PARTNER IN LINUX

How to setup a wifi-hotspot in Ubuntu: The terminal way.

How to install OpenVAS 7 in Ubuntu