From d53e5f85ffba172d1a741fc37b29a6ffe3a2d588 Mon Sep 17 00:00:00 2001 From: RyanY610 <106591422+RyanY610@users.noreply.github.com> Date: Sun, 19 Feb 2023 17:08:35 +0800 Subject: [PATCH] Update python3.sh --- Python/python3.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/Python/python3.sh b/Python/python3.sh index 483ff0a..209fc20 100644 --- a/Python/python3.sh +++ b/Python/python3.sh @@ -11,13 +11,11 @@ else fi #安装相关依赖 if [[ $os == "centos" ]];then - yum update -y rpm -qa|grep python3|xargs rpm -ev --allmatches --nodeps whereis python3 |xargs rm -frv yum install -y wget yum-utils make yum-builddep python3 -y else - apt update apt-get --purge remove python3 python3-pip -y apt install wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev -y fi