aims-complete-install 635 Bytes
Newer Older
Jonathan Carter's avatar
Jonathan Carter committed
1
2
#!/bin/bash

3
4
5
6
7
8
9
10
# 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

11
systemctl stop unattended-upgrades
Jonathan Carter's avatar
Jonathan Carter committed
12
aims-install-rstudio
13
apt-get -y install sagemath-jupyter jupyter jupyter-notebook python-notebook spyder3 r-cran-irkernel
Jonathan Carter's avatar
Jonathan Carter committed
14
15
16
17
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
18
systemctl start unattended-upgrades
Jonathan Carter's avatar
Jonathan Carter committed
19
20