On (Ubuntu) Debian how do I use dpkg -i
to install packages on a computer with no internet. I have all the packages and dependencies together all in one folder. I don't need the internet to download anything.
For example, If chrome and all of it's dependencies are together in one folder the command dpkg -i *.deb
wants to install chrome BEFORE the dependencies and spits out dependency errors even though the files are right there with chrome in the same directory.
In order to get it to work I have to move all the dependencies out of the folder and into a separate folder in order to run dpkg -i *.deb
on the dependencies first then afterward go back into the folder with chrome and run the same command again for the chrome package.
In past versions of Ubuntu all I would have to do is use the following command on all of files in the same directory: dpkg -i --force-all *.deb
and it would install the package and all of it's dependencies if they were there together in the same folder.
If I have a folder with a package and it's dependencies together in a single folder how do I install the package without using apt-get to connect to the internet?