I want to create a bash
script (called install_conda.sh), which installs Anaconda Cloud on my Ubuntu. I have downloaded the package using wget
, i can make it run, but there are some things i can't figure out how to do.
1st thing after i run the anaconda script is: "In order to continue the installation process, please review the license agreement.Please, press ENTER to continue". How do make my
install_conda.sh
to press thatEnter
?After pressing enter, another thing appears: "Do you approve the license terms? [yes|no]". Here, i must type
yes
, and then pressEnter
. Again, how to do this?Now, this thing appears: "Anaconda3 will now be installed into this location: /path/to/anaconda3 Press ENTER to confirm the location". Again i must press
Enter
...In the end, i have to type
yes
again, for this: Do you wish the installer to prepend the Anaconda3 install location to PATH in your /home/whatev/.bashrc ? [yes|no]".
2 days searching google didn't help. I've read something about an xdotool
, but i want to avoid installing other stuff from the Internet, so bash only please.
Thanks in advance :)