3 ms·
You can absolutely programmatically have apt make arbitrary selections like this with debconf. debconf-set-selections is your friend.
by Spivak 5y ago
You can absolutely programmatically have apt make arbitrary selections like this with debconf.
debconf-set-selections is your friend.
- lillecarl 5y agoyes | apt install whatever could work too.
- 3np 5y agoor just apt -y
- Zardoz84 5y agoIt just worked great with the apt packages to install Oracle Java 7 and 8 (when that packages worked...)
- capableweb 5y agoNot sure that would work in this case, `apt -y` would tell apt to skip confirmations, packages can still do their own confirmation. Also, NONINTERACTIVE=true (or what it is) I don't think would have worked either, as Oracle famously do their own thing.