16

Hello I'm using Ubuntu 12.04 Beta 2 and I've got the .debs of the softwares I had been using in Oneiric. I wanna install them all!! But the problem is I can't install them one by one [due to shortage of time and patience].

Is there any command to install all the .debs placed in a single folder once and for all!!

Suchith JN
  • 2,121
  • 4
  • 18
  • 14
  • You can install .deds by using Gdebi package manager and its easy to use just locate it and install,remove or reinstall.@SuchithJN – Piyush Mhatre Jan 28 '21 at 04:45

3 Answers3

26

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.

zeitue
  • 2,176
  • 3
  • 24
  • 37
7

This command should help.

Go into the folder using the terminal and then type:

sudo dpkg -i *.deb
Knowledge Cube
  • 14,681
  • 15
  • 80
  • 151
Sakti
  • 226
  • 1
  • 3
0

dpkg -R does a recursive directory install.

sudo dpkg -R /path/to/folder
Kulfy
  • 17,416
  • 26
  • 64
  • 103
Bonus
  • 9
  • 1