aims-complete-install 978 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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
19
20
apt-get -qq update
apt-get -y install sagemath-jupyter jupyter jupyter-notebook python3-notebook spyder3 r-cran-irkernel aims-desktop
21
aims-install-rstudio -n # -n to not call apt-get -qq update again in aims-install-rstudio
22
23
24
25
26
27
28
29
30
31
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