kerpoise
asked on
How can i write a script to call many 'apt-get install' functions?
I need to install many dependencies on a few machines, of which i know the dependency names, and i really dont want to have to write these out each time.
How can i write a script to run these for me?
i.e. to do 'apt-get install this package' then 'apt-get install this package2' etc...
How can i write a script to run these for me?
i.e. to do 'apt-get install this package' then 'apt-get install this package2' etc...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In addition to -y option suggested by FilipeMaia I suggest you also to add -q option if it's used in automation mode, so it will produce output suiteable for logging.