sage
FROM sagemath/sagemath:9.1-py3
RUN sage -pip install pip -i https://pypi.mirrors.ustc.edu.cn/simple/ --upgrade
&& sage -pip install pandas -i https://pypi.mirrors.ustc.edu.cn/simple/
&& sage -pip install pydes -i https://pypi.mirrors.ustc.edu.cn/simple/
&& sage -pip install pyaes -i https://pypi.mirrors.ustc.edu.cn/simple/
&& sage -pip install pycryptodomex -i https://pypi.mirrors.ustc.edu.cn/simple/
&& sage -pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple/
&& sage -pip install jupyter_nbextensions_configurator -i https://pypi.mirrors.ustc.edu.cn/simple/
&& sage -jupyter contrib nbextension install --user
&& sage -jupyter nbextensions_configurator enable --user
&& sage -jupyter nbextension enable highlight_selected_word/main
&& sage -jupyter nbextension enable hinterland/hinterland
&& sage -jupyter nbextension enable toc2/main
sage
wsl --import fedora D:WSLUFULL fedora-34.20211001-x86_64.tar
sudo sed -e 's|^metalink=|#metalink=|g'
-e 's|^#baseurl=http://download.example/pub/fedora/linux|baseurl=https://mirrors.ustc.edu.cn/fedora|g'
-i.bak
/etc/yum.repos.d/fedora.repo
/etc/yum.repos.d/fedora-modular.repo
/etc/yum.repos.d/fedora-updates.repo
/etc/yum.repos.d/fedora-updates-modular.repo
dnf update -y
dnf install zsh git perl gcc g++ make vim nano util-linux-user wget curl proxychains -y
sh -c "$(proxychains curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s $(which zsh)
sed -i '/^ZSH_THEME=/cSH_THEME="ys"' ~/.zshrc
git clone https://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-completions $ZSH_CUSTOM/plugins/zsh-completions
[ -z "`grep "autoload -U compinit && compinit" ~/.zshrc`" ] && echo "autoload -U compinit && compinit" >> ~/.zshrc
sed -i '/^plugins=/cplugins=(git sudo z zsh-syntax-highlighting zsh-autosuggestions zsh-completions)' ~/.zshrc
echo -e "
export LANG="zh_CN.UTF8"" >>~/.zshrc
source ~/.zshrc
#install Miniforge
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install mamba
mamba create -n sage sage python=X
mamba activate sage
mamba install jupyter_contrib_nbextensions jupyter_nbextensions_configurator
#nbextensions>>
#ExecuteTime
#Hinterland
#Toggle all line numbers