I'd like apt-get to default to using the -y option without me having to explicitly provide it. Is this possible?
Asked
Active
Viewed 734 times
1 Answers
4
One option is to alias it.
You can add this to your .bashrc file:
alias apt-get="apt-get -y"
Another option is to add below config to a file at /etc/apt/apt.conf.d/
for ex, a file called 90never-ask at /etc/apt/apt.conf.d/
APT::Get::Assume-Yes "true";
Sathyajith Bhat
- 62,374