How to Install all DEB files in a folder with a single command

In Debian or Ubuntu Linux, it is very easy to install a DEB file using command line. Mostly, we use dpkg command to install deb file. The question is how to install multiple deb files at once? This short how to will show you how to install all deb files in a folder with a single command.

For example, you have several deb files inside /home/dhani/Downloads/apps. We can use the following command to install them at once:

sudo dpkg -i /home/dhani/Downloads/apps

The command will install all deb files inside that directory. Alternatively, you can also use this command

cd /home/dhani/Downloads/apps

sudo dpkg -i *

Thank you. Hope its help

Ariel

Leave a Reply

Your email address will not be published. Required fields are marked *