I find myself moving between multiple new machines lately (new laptop, new computer at work, etc.).
I want to create a bash script to install all the software I use. Ninite is not rich enough.
I have no experience in bash scripts, I'm learning it.
I'm planing to use aptitude search
to find the packages names (if they exists in the repositories) and to create multiple lines of aptitude install
.
Then all I have to do after installing Ubuntu from scratch is to install aptitude and run the script.
- Will the script run one line after another (and not in parallel and fail)?
- Can I do a "silent install" so the installation program won't prompt for answers (pre-define the answers or user default)?
- Is there a way to define some system settings by bash script?