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?
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