#!/bin/bash # Check we are not in the installer live environment mount | grep squashfs && \ if [ "$1" != "-f" ];then echo "You seem to be running aims-complete-install in the live environment," echo "add '-f' to continue anyway; else reboot to the new installation." exit 1 fi # Make sure locales are generated locale-gen # Stop background updates systemctl stop apt-daily systemctl stop apt-daily-upgrade systemctl stop unattended-upgrades # install software apt-get -qq update apt-get -y install sagemath-jupyter jupyter jupyter-notebook python3-notebook spyder3 r-cran-irkernel aims-desktop aims-install-rstudio -n # -n to not call apt-get -qq update again in aims-install-rstudio apt-get -y dist-upgrade apt-get clean # clear Mac OSX boot entries in grub (installer USB looks like a Mac disk and get's added to grub) update-grub # Start backround updates again systemctl start apt-daily systemctl start apt-daily-upgrade systemctl start unattended-upgrades