• sage


    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
    
    
  • 相关阅读:
    三、在Canvas中使用WebGL
    二、认识Canvas
    一、WebGL概述
    给XXX客户服务器转移过程中的重大失误
    centos运行netcore error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
    centos运行netcore error:package: ‘Microsoft.AspNetCore.Antiforgery‘, version: ‘2.0.3‘
    React.js 三周 -- 入门到搭建团队基础项目
    Javascript百学不厌
    Javascript百学不厌
    Javascript百学不厌
  • 原文地址:https://www.cnblogs.com/yzpopulation/p/15357154.html
Copyright © 2020-2023  润新知