cd /etc/apt/&&
cp sources.list sources.list.bk&&
echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free > sources.list&&
echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free >> sources.list&&
echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free >> sources.list&&
echo deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free >> sources.list&&
echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free >> sources.list&&
echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free >> sources.list&&
echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free >> sources.list&&
echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free >> sources.list&&
apt update&&
echo 换源已完成!&&
cd /home
————————————————
版权声明:本文为CSDN博主「weixin_45549104」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_45549104/article/details/108904933
安装pygame的命令行如下:
apt-get install python3-pygame
安装mysql的命令如下:
apt-get install default-mysql-server
安装pyqt5的命令如下:
apt-get install python3-pyqt5
安装openjdk-11-jdk的命令如下:
apt-get install openjdk-11-jdk
安装python-tk的命令如下:
apt-get install python3-tk
安装pandas的命令如下:
apt-get install python3-pandas