How to install .debs in a folder using a single command?

Solution 1:

here is how Click the Dash -> type Terminal

open up the terminal

then type cd PATH_TO_THE_FOLDER_CONTAINING_THE_DEBS

then run

sudo dpkg -i *.deb

basically, what this does is fills in the rest of the name in place of the * character. You may encounter an error saying dependencies not met, if you see this then you can run

sudo apt-get install -f

This usually will cause apt to download the missing dependencies.

Solution 2:

This command should help.

Go into the folder using the terminal and then type:

sudo dpkg -i *.deb