I downloaded .deb packages with their dependencies.
How could I install it once? Like automically searches for its dependencies on my library.
I downloaded .deb packages with their dependencies.
How could I install it once? Like automically searches for its dependencies on my library.
I downloaded .deb packages with their dependencies... How could I install it once?
You can use 1 installation instruction with the package names divided by a "space".
Example
dpkg -i first.deb second.deb third.deb
You can also install all .DEBs in a directory with ...
dpkg -R --install packages/
If packages/ has first.deb second.deb third.deb it will install them all.
This will not "automically searches for its dependencies on my library...". It will install the packages listed; nothing more. It is you who needs to make sure the dependencies are all downloaded too.
There is a tool to help you with dpkg called "gdebi". Installation:
sudo apt-get install gdebi-core
You can install .deb packages like this ...
sudo gdebi /path/to/filename.deb
and it will also try to install dependencies.
And do not forget: when you get a broken package warning due to above: sudo apt-get -f install
will fix most of those (if not all)
If all deb's with dependencies are exist in one directory then you can install as below.
Open terminal (Ctrl+Alt+T) and change to directory (cd <path/to/directry>
) containing all .deb's and install by following command:
sudo dpkg -i *.deb
/var/cache/apt/archives
as explained in this answer. For this and other methods, see How can I install software or packages without Internet (offline)?. If you believe that question doesn't apply or none of the solutions there are what you're looking for, please [edit] this question to explain more about your situation. Thanks! – Eliah Kagan Sep 15 '14 at 10:55