When installing SageMath through the terminal on Ubuntu 18.04 on command
sudo apt-get install sagemath
I get a notification:
Postfix Configuration
---------------------
Please select the mail server configuration type that best meets your needs.
No configuration:
Should be chosen to leave the current configuration unchanged.
Internet site:
Mail is sent and received directly using SMTP.
Internet with smarthost:
Mail is received directly using SMTP or by running a utility such
as fetchmail. Outgoing mail is sent using a smarthost.
Satellite system:
All mail is sent to another machine, called a 'smarthost', for delivery.
Local only:
The only delivered mail is the mail for local users. There is no network.
- No configuration 3. Internet with smarthost 5. Local only
- Internet Site 4. Satellite system
General type of mail configuration:
Each time I install SageMath, I have to select the [1. No configuration] option.
How do I write a command and make sure that when you run the SageMath installation command, the automatic machine is selected and validated
option [1. No configuration]? This is something like the -y flag convention [../YES]
How can I do it? It's just that it's problematic for me to do this manually, since I launch the installation via a Bash script with other installation packages and programs.
Every time I have to stop at the SageMath setting on this option and enter this number "1" manually.
In GNU/Linux, is there an automatic validation of an option on a specified command?