Score:0

how i install several programs at one click

no flag

I want to install several software at one click I have all the installation packages on usb and i want to group the together because I need to install them on several laptops

any ideas??

The Sherriff.

PonJar avatar
in flag
Write a script to do it and save it on the usb drive.
Score:2
us flag

Open a terminal in the directory containing the .deb files.

Now enter the command

sudo dpkg -i *.deb

to install all the Debian packages.

Then run sudo apt install -f to install any missing dependencies (in case there are any).

Warning: If you use this method to install incompatible .deb packages (e.g. if you install packages built for Ubuntu 20.04 in 18.04), that may seriously break the package management system, and you would have to reinstall Ubuntu. However, packages build for the same version of Ubuntu should work fine.

Score:0
in flag

This is very simple to do. Just write a script. Example

apt install /path/to/gimp.deb && apt install /path/to/gparted.deb && apt install /path/to/kazam.deb

save it and make it executeable. And then run the script as a superuser.

The above script will simply install softwares one by one.

You can write anything you want for installation like dpkg.

us flag
OP has all the .deb files in an USB. This method would try to download them from the internet.
Techno world avatar
in flag
@ArchismanPanigrahi yeah whatever. By the way, '.deb ' packages can also be installed using apt
us flag
I am not sure if we can use apt to install several .deb packages using wildcards. That is why I used dpkg in the answer.
Techno world avatar
in flag
We can use wildcard(*) with aptitute :)
user535733 avatar
cn flag
@Technoworld minor edit to your script. If you don't like the change, you can revert it.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.