Skip to content

Commit

Permalink
Update python3.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanY610 authored Feb 19, 2023
1 parent a64a36d commit d53e5f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Python/python3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d53e5f8

Please sign in to comment.