How can i install a list of packages with apt and apt-get [duplicate]
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.
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,
- How do I make post-install scripts?