#!/bin/sh
apt update
apt -y install bash rsync
apt -y install lxde
apt -y install xeyes
apt -y install x11-apps
apt -y install emacs27
apt -y install qpdf
apt -y install paps
apt -y install fcitx-mozc dbus-x11 x11-xserver-utils
apt -y install emacs-mozc
apt -y install curl
apt -y install language-pack-ja
update-locale LANG=ja_JP.UTF8
apt -y install cvs
apt -y install texlive-full
apt -y install xdvik-ja
apt -y install ghostscript-x
cjk-gs-integrate --link-texmf --force
kanji-config-updmap-sys ipaex
apt -y install libreoffice
apt -y install pari-gp
apt -y install libgsl-dev
apt -y install gnuplot
apt -y install gdb
apt -y install glpk-utils
apt -y install sshuttle
apt -y install xpra
apt -y install python-is-python3
apt -y install firefox
apt -y install evince
apt -y install qpdfview
apt -y install net-tools
apt -y install pkg-config
apt -y install libpng-dev
apt -y install r-base r-base-devel
apt -y install geogebra
apt -y install python3-scipy
apt -y install libmpfr-dev
apt -y install gv
apt -y install python3-dev python3-pip python3-setuptools python3-venv
pip3 uninstall ptyprocess sniffio terminado tornado jupyterlab jupyter jupyter-console jupytext nteract_on_jupyter spyder
apt -y install jupyter jupyter-qtconsole spyder3
apt -y install python3-ptyprocess python3-sniffio python3-terminado python3-tornado
pip3 install -U jupyterlab nteract_on_jupyter
pip3 install autograd matplotlib sklearn pandas google.colab
apt -y install mew-bin
apt -y install procmail
apt -y install lighttpd
apt -y install libcgi-pm-perl gamin
apt -y install gimp
apt -y install python3-cvxopt
apt -y install python-cvxopt-doc
apt -y install r-cran-desolve
apt -y install sharutils
apt -y install hexcurse
apt -y install hexedit
apt -y install valgrind
apt -y install fonts-noto
apt -y install fonts-ipafont
apt -y install fonts-ipaexfont
apt -y install python-pytest
apt -y install julia
apt -y install git cvs m4 bison libxaw7-dev libxaw7 libtinfo-dev sharutils build-essential
apt -y install libsdl2-dev
apt -y install gnome-terminal
apt -y install gcc-multilib
apt -y install git bison clang make libtool file python3 cmake default-jre nodejs
apt -y install konsole
apt -y install csh
apt -y install libreoffice
apt -y install libreoffice-l10n-ja libreoffice-dmaths libreoffice-ogltrans libreoffice-writer2xhtml libreoffice-pdfimport libreoffice-help-ja
apt -y install manpages-ja manpages-ja-dev
apt -y install emacs-mozc
apt -y install w3m nkf libtinfo4 xorg
# Change the time zone by GUI
#   dpkg-reconfigure tzdata
# Configure mozc and fcitx
#   /usr/lib/mozc/mozc_tool --mode=config_dialog
#   wslg fcitx-config-gtk3    # ctrl+space --> shift+space
#                             # US keyboard --> Japanese keyboard