Ubuntu: Is there any way to install multiple software at a single command via terminal? [duplicate]



Question:

This question already has an answer here:

I just want to know after install ubuntu newly it`s need to install previous essential software again,That is really time consuming so is there any way that I write command and my essential software download and install automatically.


Solution:1

just type this

sudo apt-get install program1 program2 program3  

in a terminal to install many programs in the same command. Or you can use install scripts. Which are basically .sh files that have these commands in them, example below:

sudo apt-get update  sudo apt-get dist-upgrade  sudo apt-get install htop  

Put it in a file and name it like script.sh and run it from a terminal.

Also look at this answer for more info,


Solution:2

you could make a script like...

#!/bin/bash  sudo apt-get update && sudo apt-get install minicom vlc  

and just keep adding more packages you want installed


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »